LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-12-2021, 02:43 PM   #16
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656

Quote:
Originally Posted by chemfire View Post
The obvious way to handle this guys is Symlinks. Keep your local rsync replica of the repo as is and just use find -exec to build yourself a directory full of links beside it.
I don't see this being that different than flattening the repo itself. You'd still have to deal with any deletions, renamings, and additions to the repo (unless you don't care about tracking upstream changes). In that case, it's probably easier to delete and then rerun the find command (either copying/moving files directly or creating symlinks) and just rebuild the flattened repo with updates from upstream. This would be easily scriptable to update a secondary repo by git, delete the existing flattened repo, and then use find to recreate the flattened repo. It'd be nice to use rsync, but I'm not sure if that would support being able to sync between the flattened and categorized repos (I'm not very good with rsync from memory and always have to dig into the man page).
 
Old 07-12-2021, 03:05 PM   #17
chemfire
Member
 
Registered: Sep 2012
Posts: 423

Rep: Reputation: Disabled
Quote:
Originally Posted by bassmadrigal View Post
In that case, it's probably easier to delete and then rerun the find command (either copying/moving files directly or creating symlinks) and just rebuild the flattened repo with updates from upstream.
That is exactly what I was thinking. There is no need to do anything upstream. Rsync can just do rsync's thing and efficiently keep your local repo up to date. Generating removing and recreating the symlink directory should take seconds at most and the best part is nobody else has to know or care you are doing it.
 
Old 07-12-2021, 03:27 PM   #18
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,336

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
I love categorized slackbuilds under category folder.
 
Old 07-12-2021, 04:06 PM   #19
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
I don't intention to propose any change to repository. It is just that flattened repository can me more easy to deal with. I rare need information about what category software is - in most cases I know this in advance. As people claim around Slackware is about tinkering - not about that there is only one way to do things. I found this useful - maybe others also will find the same.
 
Old 07-12-2021, 05:00 PM   #20
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by igadoter View Post
I found this useful - maybe others also will find the same.
It was never my intention to question you doing this. I was simply providing what I found useful as well. I don't think it's ever bad to see multiple options

Sorry it turned into a flatten vs wildcard debate. That wasn't my goal.
 
Old 07-12-2021, 07:49 PM   #21
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 780
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
sbopkg comes with companion, sqg, which generates queues of dependencies...
 
Old 07-12-2021, 08:09 PM   #22
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,717

Original Poster
Blog Entries: 1

Rep: Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625Reputation: 625
Nice.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] sbopkg doesn't find slackbuilds 13.1 repository samac Slackware 5 05-27-2010 05:38 PM
How to flatten contents of sub-directories down to one directory? jsstevenson Linux - General 3 09-13-2008 05:01 PM
[slackbuilds.org] slackware repository idea arcanex Slackware 5 05-19-2007 09:19 PM
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 08:56 PM
Flatten something with loads of lines genderbender Programming 7 01-20-2005 11:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration