View previous topic :: View next topic |
Author |
Message |
rrbrussell n00b


Joined: 21 Jun 2004 Posts: 65
|
Posted: Thu Apr 17, 2025 11:13 pm Post subject: Here is a new synchronizing tool for portage trees. |
|
|
After a few failed tries of getting a working local rsync mirror working from a git tree
I decided to write my own tool for synchronizing portage trees. It works by compressing
each tree into a squashfs and with an updated md5-cache and no .git directory.
The program is found at https://github.com/rrbrussell/tree-sinker.
The ebuilds can be found the app-admin/tree-sinker directory at https://github.com/rrbrussell/roberts_overlay.
Comments, suggestions, and critiques of both are appreciated. |
|
Back to top |
|
 |
logrusx Advocate


Joined: 22 Feb 2018 Posts: 2928
|
Posted: Fri Apr 18, 2025 7:10 am Post subject: |
|
|
Is this syncing or sinking trees? :)
On a more serious note, you're listing a lot of dependencies in the readme, but none in the ebuild. Ideally you should list all dependencies in the ebuild (and not count on transitive dependencies).
I checked argparse just to be sure those are not simply commands and it popped up as a Gentoo package. Even if they were commands, you need to list the packages containing them.
/well this might not be the best example, I'm not a pythoneer, but requests is a good example for a dependency/
Best Regards,
Georgi |
|
Back to top |
|
 |
Banana Moderator


Joined: 21 May 2004 Posts: 1976 Location: Germany
|
Posted: Fri Apr 18, 2025 1:10 pm Post subject: |
|
|
Quote: | On a more serious note, you're listing a lot of dependencies in the readme, but none in the ebuild |
As far as I can tell, only requests is a non standart lib package and needs a dependecies. (but could be wrong)
@rrbrussell
I do think this needs more explentions on the why and what are the use cases. Right now it is very specific and not every can understand why it could be usefull. _________________ Forum Guidelines
PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire |
|
Back to top |
|
 |
logrusx Advocate


Joined: 22 Feb 2018 Posts: 2928
|
Posted: Fri Apr 18, 2025 4:21 pm Post subject: |
|
|
Banana wrote: | Quote: | On a more serious note, you're listing a lot of dependencies in the readme, but none in the ebuild |
As far as I can tell, only requests is a non standart lib package and needs a dependecies. (but could be wrong) |
Well, very often python packages rely on some other packages, but I'm not a python programmer and am not familiar with the common cases. What I know is from practice, when I have bumped into situations like that.
Maybe they are standard, maybe they aren't it's up to the programmer to check. My comment is only in regards to the ebuild, because I know a little about writing ebuilds.
Best Regards,
Georgi |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|