Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331331 (binaries-in-git) - [Tracker] Binary files in gentoo repository
Summary: [Tracker] Binary files in gentoo repository
Status: RESOLVED FIXED
Alias: binaries-in-git
Product: Quality Assurance
Classification: Unclassified
Component: Trackers (show other bugs)
Hardware: All Linux
: High QA
Assignee: Gentoo Quality Assurance Team
URL: https://devmanual.gentoo.org/general-...
Whiteboard:
Keywords: Tracker
Depends on: 328651 328653 328655 328657 331333 370867 370869 370871 370873 370875 370877 370879 370881 370883 370885 370887 370889 370891 370893 370895 370897 370899 370901 370903 370905 370907 370909 370911 370913 370915 370917 370919 370921 370923 370925 370927 370929 373253 373255 373257 373259 373261 373263 373265 373267 373269 373271 376385 417117 457008 464180 464296 471886 490068 498062 500374 500782 509106 519916 552140 562770 562772 562776 571750 608944 608952 620812 620814 620824 666398 676070
Blocks:
  Show dependency tree
 
Reported: 2010-08-05 15:39 UTC by Samuli Suominen (RETIRED)
Modified: 2021-10-24 19:12 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 Samuli Suominen (RETIRED) gentoo-dev 2010-08-05 15:39:36 UTC
cvs doesn't handle binary files for log well, that's why it has always been "forbidden" to commit binary files in gentoo-x86

if your package is using tarball in files/, just upload it to gentoo mirrors with unique name.

if your package is using e.g. PNG file in files/ directory, you can convert it to .xpm by using imagemagick's convert (xpm is not a binary format, unlike png) or you can upload it to mirrors as well.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-04-04 12:24:58 UTC
This bug is still open because gentoo-x86 is still full of .png (binary image format) files.

TODO: Need to do a `find` and open bugs to maintainers.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2011-06-09 16:20:25 UTC
To put some official context to this bug:

http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1

"Also, you should not add binary (non-ASCII) files to the Portage CVS tree."
Comment 3 Matt Turner gentoo-dev 2011-06-28 02:50:47 UTC
I wrote a script that now runs daily on qa-reports.gentoo.org [1] that finds binary and empty files in portage. Almost all have open bugs now.

[1] http://qa-reports.gentoo.org/output/find-binary-files.txt
Comment 4 Ulrich Müller gentoo-dev 2015-06-14 21:40:56 UTC
(In reply to Samuli Suominen from comment #2)
> To put some official context to this bug:
> 
> http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=1

Updated URLs for policy references:

https://devmanual.gentoo.org/ebuild-maintenance/index.html#what-%28not%29-to-put-in-the-portage-tree

"Things that do *not* belong in the tree: [...] – Non-text files"

https://devmanual.gentoo.org/general-concepts/tree/index.html#what-belongs-in-the-tree%3F

"Also, you should not add binary (non-ASCII) files to the Portage CVS tree."