Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 759937 - dev-util/idea-community should be renamed to dev-util/idea-community-bin
Summary: dev-util/idea-community should be renamed to dev-util/idea-community-bin
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: Mike Pagano
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-14 08:59 UTC by fee1-dead-beef
Modified: 2020-12-15 21:11 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fee1-dead-beef 2020-12-14 08:59:26 UTC
The ebuild fetched compiled binaries from jetbrains's website.
Comment 1 fee1-dead-beef 2020-12-14 09:00:12 UTC
The ebuild fetches* compiled binaries from jetbrains's website.
Comment 2 Jonas Stein gentoo-dev 2020-12-14 21:54:56 UTC
we have no strict rule that -bin is mandatory for all binary packages.
I would prefer such a rule, but there is none.
Comment 3 fee1-dead-beef 2020-12-15 05:58:05 UTC
(In reply to Jonas Stein from comment #2)
> we have no strict rule that -bin is mandatory for all binary packages.
> I would prefer such a rule, but there is none.

The thing is, using a name without an indicator that it is a binary package discourages users from creating ebuilds that builds the package from source. I would prefer a package that builds it from source but if someone creates one, they are going to have to name it like idea-community-git or something.
Comment 4 Joonas Niilola gentoo-dev 2020-12-15 16:53:54 UTC
ulm, didn't you try to make some consistency rules for situations like these?
Comment 5 Mike Pagano gentoo-dev 2020-12-15 17:00:15 UTC
This is all I could find:

Binary packages
Gentoo usually builds its packages from source. Exceptionally, a binary package can be provided instead (e.g., if upstream does not provide a source). Such packages should still follow normal naming conventions and do not need any special suffix.

If a binary package is provided in addition to its open-source based equivalent, the name of the former should be suffixed with -bin if necessary for distinction. Examples are packages that are heavy on resources like CPU time or memory when being built from source.

https://devmanual.gentoo.org/ebuild-writing/file-format/index.html#file-naming-rules

I think the above applies it's not *technically* required.
Comment 6 Mike Pagano gentoo-dev 2020-12-15 17:03:28 UTC
Thought let me add that it does make things more clear to just look at an package and know right away.  I'll connect on alice on irc.
Comment 7 Ulrich Müller gentoo-dev 2020-12-15 17:16:54 UTC
(In reply to Joonas Niilola from comment #4)
> ulm, didn't you try to make some consistency rules for situations like these?

That's the policy quoted in commment #5. The package name shouldn't have a -bin suffix unless there's both a source-based and a binary package.

(In reply to fee1-dead-beef from comment #3)
> The thing is, using a name without an indicator that it is a binary package
> discourages users from creating ebuilds that builds the package from source.
> I would prefer a package that builds it from source but if someone creates
> one, they are going to have to name it like idea-community-git or something.

No. As soon as a source-based ebuild exists, the existing binary package would normally be removed. It can be kept if there are exceptional circumstances like a very long compile time; in which case it should indeed be renamed to -bin (but only then).
Comment 8 Mike Pagano gentoo-dev 2020-12-15 17:37:05 UTC
(In reply to Ulrich Müller from comment #7)
> (In reply to Joonas Niilola from comment #4)
> > ulm, didn't you try to make some consistency rules for situations like these?
> 
> That's the policy quoted in commment #5. The package name shouldn't have a
> -bin suffix unless there's both a source-based and a binary package.
> 
> (In reply to fee1-dead-beef from comment #3)
> > The thing is, using a name without an indicator that it is a binary package
> > discourages users from creating ebuilds that builds the package from source.
> > I would prefer a package that builds it from source but if someone creates
> > one, they are going to have to name it like idea-community-git or something.
> 
> No. As soon as a source-based ebuild exists, the existing binary package
> would normally be removed. It can be kept if there are exceptional
> circumstances like a very long compile time; in which case it should indeed
> be renamed to -bin (but only then).

With that said... I'm going to close this bug. fee1-dead-beef (or anyone) feel free to open another bug challenging the policy if you think it doesn't make sense. If the policy get's changed, I'm happy to make the change to adhere to the new policy.

The way I am reading Ulm's comments it would be a qa violation to make this change at this point.
Comment 9 Ulrich Müller gentoo-dev 2020-12-15 21:11:44 UTC
Just as a reference, link to policy discussion:
https://archives.gentoo.org/gentoo-dev/message/8dadfbd3c15b6580abb84882e9115a47