Bug 482972 - separate .desktop file not created for srpm
Summary: separate .desktop file not created for srpm
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 1.6
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Michael Hideo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-29 04:22 UTC by eric
Modified: 2010-11-24 04:17 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-17 02:24:39 UTC
Embargoed:


Attachments (Terms of Use)

Description eric 2009-01-29 04:22:59 UTC
Description of problem: A .desktop file is not generated when making an srpm.  See https://fedoraproject.org/wiki/Packaging/Guidelines#Desktop_files.


Version-Release number of selected component (if applicable): publican-0.40-0.fc10.noarch

Comment 1 Jeff Fearn 🐞 2009-01-29 04:49:13 UTC
It works perfectly well and since the automated RPM creation is not fedora specific I won't be jumping through hoops for the retarded stuff.

Comment 2 Karsten Wade 2009-01-30 02:27:42 UTC
(In reply to comment #1)
> It works perfectly well and since the automated RPM creation is not fedora
> specific I won't be jumping through hoops for the retarded stuff.

That won't work.  Fedora packaging standards *are* Red Hat Enterprise Linux standards.  If you expect Publican to produce RPMs that are consumed by Fedora and RHEL, you need to create an srpm that can make a Fedora compliant RPM.

Comment 3 Jeff Fearn 🐞 2009-01-30 02:52:31 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > It works perfectly well and since the automated RPM creation is not fedora
> > specific I won't be jumping through hoops for the retarded stuff.
> 
> That won't work.  Fedora packaging standards *are* Red Hat Enterprise Linux
> standards.

Clearly not true. There are well over 200 packages brewed and ready to ship in RHN right now that are built using this process.

>  If you expect Publican to produce RPMs that are consumed by Fedora
> and RHEL, you need to create an srpm that can make a Fedora compliant RPM.

Red Hat is not fedora cuts both ways; I am in no way constrained in what I can ship in RHEL by what goes on in fedora.

Comment 4 Karsten Wade 2009-01-30 03:42:47 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > It works perfectly well and since the automated RPM creation is not fedora
> > > specific I won't be jumping through hoops for the retarded stuff.
> > 
> > That won't work.  Fedora packaging standards *are* Red Hat Enterprise Linux
> > standards.
> 
> Clearly not true. There are well over 200 packages brewed and ready to ship in
> RHN right now that are built using this process.

Just because packages got a pass on the standard does not mean that it is right they continue to be non-standard.  Even more so, it does not make it right to continue to make non-standard packages.

> >  If you expect Publican to produce RPMs that are consumed by Fedora
> > and RHEL, you need to create an srpm that can make a Fedora compliant RPM.
> 
> Red Hat is not fedora cuts both ways; I am in no way constrained in what I can
> ship in RHEL by what goes on in fedora.

If your intention is to develop software that the Fedora community cannot use, then go ahead and do whatever you want.

The problem here is that we cannot use Publican for any of the content for Fedora 11 if it cannot build RPMs that build from source. If the SRPMs created by Publican do not comply with the Fedora standards and make koji choke and die, then the RPMs cannot be built from source.  Fedora building itself is an important design requirement.

This content is:

Fedora Release Notes
Fedora Installation Guide
Fedora User Guide
Fedora Security Guide
Fedora SELinux Guide

We've tried for two releases to use Publican for documentation, and have had to pull the feature twice.  Is being part of Fedora and used to make Fedora (the upstream for RHEL) a goal for Publican or not?

Comment 5 Jeff Fearn 🐞 2009-01-30 04:45:48 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > (In reply to comment #1)
> > > > It works perfectly well and since the automated RPM creation is not fedora
> > > > specific I won't be jumping through hoops for the retarded stuff.
> > > 
> > > That won't work.  Fedora packaging standards *are* Red Hat Enterprise Linux
> > > standards.
> > 
> > Clearly not true. There are well over 200 packages brewed and ready to ship in
> > RHN right now that are built using this process.
> 
> Just because packages got a pass on the standard does not mean that it is right
> they continue to be non-standard.  Even more so, it does not make it right to
> continue to make non-standard packages.

Just because a package is non standard on fedora does not mean it is non standard on RHEL.

I have seen no notice from any engineering manager that they have ceded control over RHEL packaging standards to fedora packaging, I'm sure they will be interested to learn that you are saying they have.

> > >  If you expect Publican to produce RPMs that are consumed by Fedora
> > > and RHEL, you need to create an srpm that can make a Fedora compliant RPM.
> > 
> > Red Hat is not fedora cuts both ways; I am in no way constrained in what I can
> > ship in RHEL by what goes on in fedora.
> 
> If your intention is to develop software that the Fedora community cannot use,
> then go ahead and do whatever you want.

The fedora community can already use publican, the availability of any individual non-core feature does not affect this.

> The problem here is that we cannot use Publican for any of the content for
> Fedora 11 if it cannot build RPMs that build from source.

What other systems allow people to automatically build fedora compatible documentation SRPMS from source?

Since you have a total of one docs package in fedora, the release notes, and since that is not automated, and would not pass the current packaging idiocy anyway, I can only guess there isn't one.

> If the SRPMs created
> by Publican do not comply with the Fedora standards and make koji choke and
> die, then the RPMs cannot be built from source.

Setting requirements for publican that far exceed what other systems are capable of is ridiculous.

Expanding issues from one of following questionable rules of form over function, to suggestions of functional breakage, is immensely disingenuous.

If you don't like the spec files publican spits out there is nothing stopping you from taking it an changing to suit your needs or writing your own from scratch. This is how all packaging is done outside publican. The fact that we offer a service that caters well for some users is no constraint that we have to support that usage for all users.

It's laughable to suggest this feature is critical to using publican when publican is clearly superior in many way to your current tool chain. There is no other tool chain that gets anywhere near this close to allowing authors to package their documentation with such little effort.

>  Fedora building itself is an
> important design requirement.

The SRPMs build in Koji and install/upgarde/uninstall perfectly. They have been thoroughly tested by Red Hat QE. There is no technical problem with them.

Insisting packaging has to be automated is an exceptionally high requirement that is not met by any other system, documentation related or not.

> This content is:
> 
> Fedora Release Notes
> Fedora Installation Guide
> Fedora User Guide
> Fedora Security Guide
> Fedora SELinux Guide
> 
> We've tried for two releases to use Publican for documentation, and have had to
> pull the feature twice.

It took a guy who has never seen fedora docs content 20 minutes to port your release notes to publican, there is no technical issue here.

Blaming publican because your translation infrastructure can't handle multiple files, which is necessary for large bodies of content, is, at best, disingenuous.

>  Is being part of Fedora and used to make Fedora (the
> upstream for RHEL) a goal for Publican or not?

Publican is already part of fedora, that's why I have been fixing bugs opened by the fedora community for the last 2 fedora releases. I think asking this because I refuse to jump through any more stupid hoops related to fedora packaging is, yet again, very disingenuous.

Comment 6 Tom "spot" Callaway 2009-01-30 18:49:04 UTC
Jeff, I can't tell whether you would take a patch to improve this or not. Would you?

Comment 7 Jeff Fearn 🐞 2009-01-30 22:26:11 UTC
(In reply to comment #6)
> Jeff, I can't tell whether you would take a patch to improve this or not. Would
> you?

I'm happy to accept patches from anyone for anything.

Comment 8 Jens Petersen 2009-04-17 09:51:00 UTC
I might be able to contribute a patch at some point - but just to note that FPC and FESCO approved the option now to allow embedded .desktop files now though separate one is still preferred for Fedora since it is easier to translate, etc, which eases the situation.

Comment 9 Jens Petersen 2009-05-08 07:06:51 UTC
Given that publican srpms are generally generated directly by publican I don't think this is that important really or matters that much.

The only question is really how do you plan to localize the .desktop files for translated books if it is not already done?

Comment 10 Bug Zapper 2009-06-09 10:57:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 11 Michael Hideo 2009-06-17 02:24:39 UTC
Policy has been changed to allow the desktop file to be created at build time.


Note You need to log in before you can comment on or make changes to this bug.