Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
01-10-2014, 09:56 AM
|
#1
|
Member
Registered: Oct 2006
Location: Hangzhou, China
Distribution: Slackware
Posts: 49
Rep:
|
Please consider moving repo of SlackBuilds.org to Github
SBo is running in an old and solid fashion, for years, in the Slack way.
We could make things better if migrated to Github (or bitbucket). - Get rid of the maintenance works on server-side repos. That doesn't
mean we cann't or dislike these things, just use good service.
- Replace the submission process with pull request. I'm too lazy to
make a submission like this. I've no idea how the admins deal with
these compressed files.
- Better issue tracking with Github's Issues feature.
- Easier and more convenient collaboration, E-mails notifications, etc..
- Other goodies of Github, like hooking with many other services like IRC.
- Attract more Slackers. Lots of personal slackbuilds repos out there are
on Github right now.
The cons is, maybe a bit queer for a Slackware project running on such a modern service?
|
|
|
01-10-2014, 10:11 AM
|
#2
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,272
|
well, nearly nobody of the submitters do a totally clean job, I mean in a way that we can take their stuff as pull requests (we have nearly always to fix something in submissions, also extra spaces) so IMHO it doesn't make much sense to use those (only an handful of submitters are capable of doing them completely correct so that we can push stuff as-is).
that being generally unuseful doesn't mean that in the past (and probably also in the future), in some situations (like during migration from one version of Slackware to the other, for example), on a personal basis (depending on the admin), we haven't accepted commit from github branches...
an excerpt from my .git/config
Code:
...
[remote "Vliegendehuiskat"]
url = git@github.com:Vliegendehuiskat/slackbuilds.git
fetch = +refs/heads/*:refs/remotes/Vliegendehuiskat/*
[remote "cwilling"]
url = git://github.com/cwilling/slackbuilds.git
fetch = +refs/heads/*:refs/remotes/cwilling/*
[remote "binhnguyen"]
url = git://github.com/binhnguyen/slackbuilds.git
fetch = +refs/heads/*:refs/remotes/binhnguyen/*
...
Last edited by ponce; 01-10-2014 at 03:40 PM.
|
|
1 members found this post helpful.
|
01-10-2014, 10:31 AM
|
#3
|
Member
Registered: Oct 2006
Location: Hangzhou, China
Distribution: Slackware
Posts: 49
Original Poster
Rep:
|
Quote:
Originally Posted by ponce
well, nearly nobody of the submitters do a clean job, I mean in a way that we can take their stuff as pull requests (we have nearly always to fix something in submissions) so it doesn't make much sense to use those (only an handful of submitters are capable of doing them correctly).
|
Never heard about this before.
But this issue has nothing to do with the submission approach. I mean, for example, users issue a pull request to the develop branch, you admins still could refine the scripts, then merge into the working branch, the end user should use the SlackBuilds in those working branches.
|
|
|
01-10-2014, 10:39 AM
|
#4
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,272
|
but you already can use the working branches, just point your remote at git://slackbuilds.org/slackbuilds.git and its branches
http://slackbuilds.org/cgit/slackbuilds/
you can even use them with sbopkg (to use another branch instead of master, follow the instructions there and substitute the "master" string with the name of the branch that you want to use sbopkg with).
managing pull requests that you have to fix is more painful that our present submission process, believe me (I'm processing stuff with both methods), not to count the added value that we have with it and the associated database that makes browsing on the SBo site a pleasing experience (search keywords and sanity checks, for example)
BTW, everybody it's free to fork our repository on github and work there, I'm doing that too!
P.S. DISCLAIMER: what I'm expressing in this topic are my personal opinions that not necessarily reflect the ones of the others admins.
Last edited by ponce; 01-10-2014 at 01:45 PM.
|
|
2 members found this post helpful.
|
01-10-2014, 12:21 PM
|
#5
|
Member
Registered: Oct 2006
Location: Hangzhou, China
Distribution: Slackware
Posts: 49
Original Poster
Rep:
|
Got it, thanks for the explanation. It's not that simple as I imagined. Just thought that if hosted on Github, most things will be convenient and efficient.
What I've understood now is that most of the scripts submitted have problems. Maybe some strict guidelines addressing these type of problems should be informed to the submitters. It's the thing regarding one's level of bash scripting and experience, the understanding of Linux filesystem hierarchy and package management. Probably this is why it's complicated to maintain the project.
|
|
|
01-10-2014, 01:10 PM
|
#6
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,272
|
Quote:
Originally Posted by cowyn
Maybe some strict guidelines addressing these type of problems should be informed to the submitters.
|
http://slackbuilds.org/guidelines/
http://slackbuilds.org/templates/
http://slackbuilds.org/faq/
I suppose that, just like with everything else, people just need time to get on track...
Last edited by ponce; 01-10-2014 at 01:13 PM.
|
|
1 members found this post helpful.
|
01-10-2014, 02:58 PM
|
#7
|
LQ Guru
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
|
The ongoing problem with SBos is that care has to be taken to ensure packages have proper dependencies in the list to resolve as well as clean compiles, proper edits with sed, and proper patches are applied, as well as the beast of all beasties... package stability and security.
If you want to say it, just about as much care goes into publishing working SBos as Slackware itself, which mind you, is no small task. Ask Robby and the other major maintainers how much goes into testing SlackBuilds prior to publishing. You don't want a bad package in circulation.
I'll even 1-up that by saying that there are users of other distributions, like myself who use LFS/BLFS, and use SBo derived scripts for our own packages that normally don't have an entry in the book to work from.
So personally, it think SBo is fine as it is. Why risk screwing up an already good thing?
|
|
2 members found this post helpful.
|
01-10-2014, 03:36 PM
|
#8
|
Moderator
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,297
|
Quote:
Originally Posted by ReaperX7
So personally, it think SBo is fine as it is. Why risk screwing up an already good thing?
|
I second that! +1! And thanks as always to the SBo maintainers!
I am not actually a github fanboy anyway. I find navigation on unfamiliar projects, and particularly getting to needed info somewhat difficult and tedious (but also maybe due to my own ancient habits).
|
|
|
01-10-2014, 03:45 PM
|
#9
|
Member
Registered: Jul 2004
Location: USA
Distribution: Slackware64
Posts: 212
Rep:
|
SBo is a great resource, but lacks polish.
Overall, the system works pretty well. Once you spend the time gathering/creating and tweaking queue files, package generation is a breeze. Using sbopkg makes things even easier.
However, the initial amount of queue file work can be daunting. Most of the queue files I use were created by others, and I use that as a base. From that base, I tweak the queue files to include optional dependencies, change build options, etc..
For example, the ffmpeg slackbuild is very basic and I like to include many of the optional dependencies. This means that I must dig through the dependencies and include those queue files. It's a tedious process, especially for packages like MythTV and VLC, which have many dependencies. However, once you have a working set of queue files, maintenance is minimal. Jumping from 14 to 14.1 required a few changes to my queue files, since package names and requirements change, but it was minimal.
I would love to see an official SBo queue file repository, with all optional dependencies included for each package, but I realize this is a huge amount of work that never ends.
|
|
|
01-10-2014, 03:47 PM
|
#10
|
Senior Member
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware, CRUX
Posts: 1,473
|
I like the submission process as it is. It is simple enough even for me...
|
|
|
01-10-2014, 05:17 PM
|
#11
|
LQ Veteran
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
|
Could you be specific about the errors in submissions? Could you possibly list in details a few most common ones so that next time we pay extra attention to it. You guys have enough work on your hands to fix our mistakes.
... or reject them with some explanation (eg. on the mailing list). Initially it'd be more work for you but next time people will be extra careful not to make the same mistake (or the mistake mentioned on the mailing list).
Just my thoughts.
|
|
|
01-10-2014, 10:08 PM
|
#12
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,763
|
Here are some common problems we found:
Not following the guideline and latest template are the most common thing
People often used their original submission instead of the modified script in our repository
Putting too many unnecessary information on the README and slack-desc
Wrong md5checksums
We don't want to spam your inbox with other people's problem, so we reply it personally for each submission if we think it's necessary. Otherwise we will just clean it up for you, but see second point above.
|
|
1 members found this post helpful.
|
01-10-2014, 10:18 PM
|
#13
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,763
|
Quote:
Originally Posted by granth
I would love to see an official SBo queue file repository, with all optional dependencies included for each package, but I realize this is a huge amount of work that never ends.
|
This will make packages bloated just like other distribution, which is something we tried to avoid
We list the hard dependency in the .info file and list the known optional dependencies in the README. The decision is left for the user to pick
|
|
2 members found this post helpful.
|
01-10-2014, 10:50 PM
|
#14
|
LQ Guru
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,336
|
Quote:
Originally Posted by granth
I would love to see an official SBo queue file repository, with all optional dependencies included for each package, but I realize this is a huge amount of work that never ends.
|
This is pretty much what Portage is. You should try Gentoo.
|
|
|
01-11-2014, 01:27 AM
|
#15
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,272
|
Quote:
Originally Posted by granth
SBo is a great resource, but lacks polish.
|
can you please elaborate?
Quote:
Overall, the system works pretty well. Once you spend the time gathering/creating and tweaking queue files, package generation is a breeze. Using sbopkg makes things even easier.
However, the initial amount of queue file work can be daunting. Most of the queue files I use were created by others, and I use that as a base. From that base, I tweak the queue files to include optional dependencies, change build options, etc..
|
with the new sbopkg, Chess added a tool named sqg (you can find it in /usr/doc/sbopkg-0.37.0/contrib/sqg): the first thing I do on my installs is sync sbopkg making it download the repository, copy sqg to /usr/local/sbin/sqg, modify lines 47 and 48 with the data of the repository I'm using sbopkg with, and launch it with the -a option
and when it finishes I have all the queuefiles based on the selected repository in /var/lib/sbopkg/queues! \o/
then I add the optional dependencies I need or the necessary switches, parsing the README files, to the queuefiles it generates.
Last edited by ponce; 01-11-2014 at 02:54 AM.
|
|
4 members found this post helpful.
|
All times are GMT -5. The time now is 08:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|