Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672672 - GLEP 78: Gentoo binpkg container format
Summary: GLEP 78: Gentoo binpkg container format
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: New GLEP submissions (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GLEP Editors
URL:
Whiteboard:
Keywords:
: 518122 (view as bug list)
Depends on: 820578
Blocks: 773259 266879 383725 564070 629538 659864
  Show dependency tree
 
Reported: 2018-12-07 08:24 UTC by Michał Górny
Modified: 2023-05-14 19:14 UTC (History)
6 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 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-12-07 08:24:11 UTC
Please assign a GLEP number and merge the draft found on 'glep-binpkg' branch.
Comment 1 Larry the Git Cow gentoo-dev 2018-12-08 09:41:02 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/data/glep.git/commit/?id=2795fb710f678f36e558db708fae7b248914f159

commit 2795fb710f678f36e558db708fae7b248914f159
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-11-17 11:17:11 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2018-12-08 09:34:59 +0000

    glep-0078: GLEP draft, 'Gentoo binary package container format'
    
    Signed-off-by: Michał Górny <mgorny@gentoo.org>
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>
    Bug: https://bugs.gentoo.org/672672

 glep-0078.rst | 575 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 575 insertions(+)
Comment 2 Ulrich Müller gentoo-dev 2021-01-15 09:07:00 UTC
Ping. Any progress here?
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-01-15 09:21:21 UTC
The impl is still being reviewed by Zac.
Comment 4 Ulrich Müller gentoo-dev 2021-05-31 08:20:54 UTC
(In reply to Michał Górny from comment #3)
> The impl is still being reviewed by Zac.

Ping again, any news?
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-05-31 08:34:25 UTC
Last rebased in April, so the contributor still didn't give up after months of neglection on the side of Portage team.
Comment 6 Ulrich Müller gentoo-dev 2021-08-31 10:49:41 UTC
*** Bug 518122 has been marked as a duplicate of this bug. ***
Comment 7 Larry the Git Cow gentoo-dev 2022-01-24 01:17:20 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=b094ba47368bb9b16fb17ee47a54644a09860823

commit b094ba47368bb9b16fb17ee47a54644a09860823
Author:     Rin Cat (鈴猫) <dev@rincat.ch>
AuthorDate: 2022-01-23 23:23:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-24 01:17:10 +0000

    */*: GPKG (new binpkg format) Support (GLEP 78, provisionally)
    
    Bug: https://bugs.gentoo.org/500630
    Bug: https://bugs.gentoo.org/659864
    Bug: https://bugs.gentoo.org/672672
    Bug: https://bugs.gentoo.org/773259
    Bug: https://bugs.gentoo.org/820578
    Signed-off-by: Rin Cat (鈴猫) <dev@rincat.ch>
    Closes: https://github.com/gentoo/portage/pull/562
    Signed-off-by: Sam James <sam@gentoo.org>

 MANIFEST.in                                        |    3 +
 bin/gpkg-helper.py                                 |   71 +
 bin/misc-functions.sh                              |   67 +-
 bin/quickpkg                                       |  108 +-
 cnf/make.conf.example                              |   36 +
 cnf/make.globals                                   |   21 +
 lib/_emerge/Binpkg.py                              |   13 +-
 lib/_emerge/BinpkgExtractorAsync.py                |    9 +
 lib/_emerge/BinpkgFetcher.py                       |   31 +-
 lib/_emerge/EbuildBinpkg.py                        |   16 +-
 lib/_emerge/EbuildPhase.py                         |   33 +-
 lib/_emerge/Package.py                             |    1 +
 lib/_emerge/actions.py                             |   44 +-
 lib/_emerge/depgraph.py                            |   30 +-
 lib/portage/__init__.py                            |    1 +
 lib/portage/binpkg.py                              |   56 +
 lib/portage/const.py                               |   12 +
 lib/portage/dbapi/bintree.py                       |  445 ++++-
 lib/portage/dbapi/vartree.py                       |   77 +-
 lib/portage/exception.py                           |   20 +
 lib/portage/gpg.py                                 |  106 +
 lib/portage/gpkg.py                                | 2015 ++++++++++++++++++++
 .../package/ebuild/_config/special_env_vars.py     |    1 +
 lib/portage/package/ebuild/config.py               |   10 +
 lib/portage/package/ebuild/doebuild.py             |   13 +
 .../06B3A311BD775C280D22A9305D90EA06352177F6.rev   |   37 +
 .../8DEDA2CDED49C8809287B89D8812797DDF1DD192.rev   |   37 +
 .../273B030399E7BEA66A9AD42216DE7CA17BA5D42E.key   |  Bin 0 -> 2055 bytes
 .../C99796FB85B0C3DF03314A11B5850C51167D6282.key   |  Bin 0 -> 2055 bytes
 lib/portage/tests/.gnupg/pubring.kbx               |  Bin 0 -> 2774 bytes
 lib/portage/tests/.gnupg/trustdb.gpg               |  Bin 0 -> 1360 bytes
 lib/portage/tests/__init__.py                      |   37 +-
 lib/portage/tests/emerge/test_simple.py            |   47 +-
 lib/portage/tests/gpkg/__init__.py                 |    2 +
 lib/portage/tests/gpkg/__test__.py                 |    0
 lib/portage/tests/gpkg/test_gpkg_checksum.py       |  396 ++++
 lib/portage/tests/gpkg/test_gpkg_gpg.py            |  398 ++++
 .../tests/gpkg/test_gpkg_metadata_update.py        |   59 +
 lib/portage/tests/gpkg/test_gpkg_metadata_url.py   |  173 ++
 lib/portage/tests/gpkg/test_gpkg_path.py           |  390 ++++
 lib/portage/tests/gpkg/test_gpkg_size.py           |   58 +
 lib/portage/tests/gpkg/test_gpkg_stream.py         |  112 ++
 lib/portage/tests/resolver/ResolverPlayground.py   |   55 +-
 .../test_build_id_profile_format.py                |   50 +-
 .../binpkg_multi_instance/test_rebuilt_binaries.py |   44 +-
 .../tests/resolver/soname/test_autounmask.py       |   38 +-
 .../tests/resolver/soname/test_downgrade.py        |   84 +-
 .../tests/resolver/soname/test_or_choices.py       |   39 +-
 .../tests/resolver/soname/test_reinstall.py        |   40 +-
 .../tests/resolver/soname/test_skip_update.py      |   39 +-
 .../soname/test_slot_conflict_reinstall.py         |  135 +-
 .../resolver/soname/test_slot_conflict_update.py   |   38 +-
 .../tests/resolver/soname/test_soname_provided.py  |   45 +-
 .../tests/resolver/soname/test_unsatisfiable.py    |   40 +-
 .../tests/resolver/soname/test_unsatisfied.py      |   40 +-
 .../tests/resolver/test_autounmask_binpkg_use.py   |   38 +-
 lib/portage/tests/resolver/test_bdeps.py           |   44 +-
 .../resolver/test_binary_pkg_ebuild_visibility.py  |   35 +-
 lib/portage/tests/resolver/test_changed_deps.py    |   41 +-
 ...test_complete_if_new_subslot_without_revbump.py |   40 +-
 .../resolver/test_disjunctive_depend_order.py      |   34 +-
 lib/portage/tests/resolver/test_multirepo.py       |   62 +-
 .../test_regular_slot_change_without_revbump.py    |   41 +-
 lib/portage/tests/resolver/test_simple.py          |   34 +-
 lib/portage/tests/resolver/test_slot_abi.py        |  113 +-
 .../tests/resolver/test_slot_abi_downgrade.py      |   77 +-
 .../resolver/test_slot_change_without_revbump.py   |   40 +-
 .../resolver/test_slot_operator_autounmask.py      |   40 +-
 .../tests/resolver/test_slot_operator_bdeps.py     |   74 +-
 .../tests/resolver/test_slot_operator_rebuild.py   |   40 +-
 .../tests/resolver/test_slot_operator_unsolved.py  |   41 +-
 lib/portage/tests/resolver/test_useflags.py        |   37 +-
 lib/portage/tests/runTests.py                      |   12 +
 lib/portage/tests/update/test_move_ent.py          |  129 +-
 lib/portage/tests/update/test_move_slot_ent.py     |  139 +-
 lib/portage/tests/update/test_update_dbentry.py    |  182 +-
 lib/portage/util/_urlopen.py                       |    4 +-
 lib/portage/versions.py                            |   16 +
 man/make.conf.5                                    |   80 +
 .../06B3A311BD775C280D22A9305D90EA06352177F6.rev   |   37 +
 .../8DEDA2CDED49C8809287B89D8812797DDF1DD192.rev   |   37 +
 .../273B030399E7BEA66A9AD42216DE7CA17BA5D42E.key   |  Bin 0 -> 2055 bytes
 .../C99796FB85B0C3DF03314A11B5850C51167D6282.key   |  Bin 0 -> 2055 bytes
 repoman/lib/repoman/tests/.gnupg/pubring.kbx       |  Bin 0 -> 2774 bytes
 repoman/lib/repoman/tests/.gnupg/trustdb.gpg       |  Bin 0 -> 1360 bytes
 repoman/lib/repoman/tests/runTests.py              |   10 +
 repoman/setup.py                                   |   12 +-
 setup.py                                           |   14 +-
 88 files changed, 6272 insertions(+), 903 deletions(-)
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-24 01:20:13 UTC
A new version of the draft is available at bug 820578.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-19 00:13:17 UTC
Just because it's not obvious from reading this bug and some more people may come across it given a Portage release now contains gpkg support (and I've done some bug wrangling):
- Support for this is in Portage 3.0.31+ (keep questions about it outside of this bug, please file new ones if issues, etc)
- This is being put forward for approval by council shortly.
Comment 10 Larry the Git Cow gentoo-dev 2022-08-14 19:35:21 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/data/glep.git/commit/?id=ee1708ca1eac24ee5edd50556d4a3d5de93bbc20

commit ee1708ca1eac24ee5edd50556d4a3d5de93bbc20
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2022-08-14 19:34:02 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2022-08-14 19:34:02 +0000

    glep-0078: Mark as Accepted per 2022-08-14 Council decision
    
    Bug: https://bugs.gentoo.org/672672
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 glep-0078.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 11 Ulrich Müller gentoo-dev 2023-02-22 07:01:53 UTC
Ping. What is the status here?

The GLEP was accepted on 2022-08-14, so by policy it should be marked as "deferred".

Policy reference (GLEP 28):

| If a Draft GLEP is inactive for more than 60 days or an Accepted
| GLEP is inactive for more than six months, then it would be marked
| as "deferred" on the main GLEP page. Inactivity is defined simply
| as the GLEP author has not contacted the GLEP editors with either
| an update or a request to submit the GLEP for approval (in the case
| of a Draft GLEP) or a request that the GLEP be marked final (in the
| case of an Accepted GLEP).
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-22 07:15:33 UTC
Sounds like it should be marked Final.
Comment 13 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-02-22 14:33:01 UTC
What Sam said, it's implemented in Portage.  Should I send an update for "Reference implementation" section noting that, or is it fine to just mark it Final?
Comment 14 Ulrich Müller gentoo-dev 2023-02-22 15:53:42 UTC
(In reply to Michał Górny from comment #13)
> What Sam said, it's implemented in Portage.  Should I send an update for
> "Reference implementation" section noting that,

Either this, or we add a short note in a "Status" section (suggestions for wording welcome).

> or is it fine to just mark it Final?
Comment 15 Larry the Git Cow gentoo-dev 2023-05-14 19:14:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/data/glep.git/commit/?id=b7e6873ab3b8f51cdb1f31e991d2e3c2999fe179

commit b7e6873ab3b8f51cdb1f31e991d2e3c2999fe179
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2023-05-14 19:06:56 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2023-05-14 19:06:56 +0000

    glep-0078: Mark as Final per 2023-05-14 Council decision
    
    Closes: https://bugs.gentoo.org/672672
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 glep-0078.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)