Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908452 - dev-python/btrfs: new package
Summary: dev-python/btrfs: new package
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Holger Hoffstätte
URL: https://github.com/knorrie/python-btrfs
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-13 14:44 UTC by Holger Hoffstätte
Modified: 2023-06-15 09:33 UTC (History)
2 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 Holger Hoffstätte 2023-06-13 14:44:31 UTC
This pure-python package is a collection of classes & helpers that make it *astonishingly* easy to write anything you can imagine for btrfs administration or hacking. I've been using this for years.
I understand the reluctance of introducing new packages, but:
- the package is maintained and the author is active on the btrfs list
- slow release cycles, mostly for new btrfs features every few years
- it has NO crazy dependency clown car
- I am willing to proxy-maintain it (very little to do)
- it's already tested with python-3.12


Reproducible: Always




At this point I'm mostly looking for feedback, like whether there is any interest at all. Other things I'd love to hear:
- is the python packaging vodoo OK? (it works, but..)
- sys-fs or dev-python? let me know :)
Comment 1 Holger Hoffstätte 2023-06-13 14:55:57 UTC
Btw the patches are necessary to support a feature that is already available in the kernel and btrfs-progs (block group tree). The last release was so long ago that I decided to just steal the patches from the dev branch (https://github.com/knorrie/python-btrfs/issues/42).
Comment 2 Larry the Git Cow gentoo-dev 2023-06-14 02:51:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c08f76951bd55ac4aea016ec515886acc8e1f76

commit 5c08f76951bd55ac4aea016ec515886acc8e1f76
Author:     Holger Hoffstätte <holger@applied-asynchrony.com>
AuthorDate: 2023-06-13 14:03:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-14 02:51:04 +0000

    dev-python/btrfs: new package, add v13 + support for block-group-tree
    
    Closes: https://bugs.gentoo.org/908452
    Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
    Closes: https://github.com/gentoo/gentoo/pull/31416
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/btrfs/Manifest                          |   1 +
 dev-python/btrfs/btrfs-13.ebuild                   |  39 ++++++
 ...001-docs-do-not-monkey-patch-for-sphinx-4.patch | 146 +++++++++++++++++++++
 ...-002-show_file_csum-fix-vaddr-computation.patch |  27 ++++
 ...l-fix-documentation-error-in-FeatureFlags.patch |  21 +++
 .../btrfs/files/13-004-add-Block-Group-Tree.patch  | 110 ++++++++++++++++
 ...tree-FileSystem-add-block_groups-function.patch |  58 ++++++++
 ...arch-metadata-use-FileSystem-block_groups.patch |  30 +++++
 dev-python/btrfs/metadata.xml                      |  16 +++
 9 files changed, 448 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2023-06-15 09:33:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=35c165378ffb8f5932c638e591085afb23f6e1e2

commit 35c165378ffb8f5932c638e591085afb23f6e1e2
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
AuthorDate: 2023-06-14 07:26:16 +0000
Commit:     Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
CommitDate: 2023-06-14 07:26:16 +0000

    sys-fs/python-btrfs: treeclean duplicate
    
    Bug: https://bugs.gentoo.org/908452
    Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>

 profiles/updates/2Q-2023                      |  1 +
 sys-fs/python-btrfs/Manifest                  |  1 -
 sys-fs/python-btrfs/metadata.xml              |  9 ---------
 sys-fs/python-btrfs/python-btrfs-13-r1.ebuild | 28 ---------------------------
 4 files changed, 1 insertion(+), 38 deletions(-)