LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 01-10-2014, 09:56 AM   #1
cowyn
Member
 
Registered: Oct 2006
Location: Hangzhou, China
Distribution: Slackware
Posts: 49

Rep: Reputation: 15
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).
  1. 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.
  2. 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.
  3. Better issue tracking with Github's Issues feature.
  4. Easier and more convenient collaboration, E-mails notifications, etc..
  5. Other goodies of Github, like hooking with many other services like IRC.
  6. 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?
 
Old 01-10-2014, 10:11 AM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,272

Rep: Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284
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.
Old 01-10-2014, 10:31 AM   #3
cowyn
Member
 
Registered: Oct 2006
Location: Hangzhou, China
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ponce View Post
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.
 
Old 01-10-2014, 10:39 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,272

Rep: Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284
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.
Old 01-10-2014, 12:21 PM   #5
cowyn
Member
 
Registered: Oct 2006
Location: Hangzhou, China
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 15
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.
 
Old 01-10-2014, 01:10 PM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,272

Rep: Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284
Quote:
Originally Posted by cowyn View Post
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.
Old 01-10-2014, 02:58 PM   #7
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,564
Blog Entries: 15

Rep: Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117Reputation: 2117
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.
Old 01-10-2014, 03:36 PM   #8
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,297
Blog Entries: 24

Rep: Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255Reputation: 4255
Quote:
Originally Posted by ReaperX7 View Post
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).
 
Old 01-10-2014, 03:45 PM   #9
granth
Member
 
Registered: Jul 2004
Location: USA
Distribution: Slackware64
Posts: 212

Rep: Reputation: 55
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.
 
Old 01-10-2014, 03:47 PM   #10
solarfields
Senior Member
 
Registered: Feb 2006
Location: Outer Shpongolia
Distribution: Slackware, CRUX
Posts: 1,473

Rep: Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028
I like the submission process as it is. It is simple enough even for me...
 
Old 01-10-2014, 05:17 PM   #11
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
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.
 
Old 01-10-2014, 10:08 PM   #12
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,763

Rep: Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862
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.
Old 01-10-2014, 10:18 PM   #13
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,763

Rep: Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862Reputation: 1862
Quote:
Originally Posted by granth View Post
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.
Old 01-10-2014, 10:50 PM   #14
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,336

Rep: Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380
Quote:
Originally Posted by granth View Post
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.
 
Old 01-11-2014, 01:27 AM   #15
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,272

Rep: Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284Reputation: 4284
Quote:
Originally Posted by granth View Post
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
Code:
sqg -a
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.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 and SlackBuilds 14.1 repo radwis Slackware 4 11-27-2013 04:54 AM
Is slackbuilds.org going to add a 14.1 repo? narz Slackware 8 11-10-2013 01:30 PM
openbox on slack13.37 (x86) -- Thanks to linuxquestions.org, slackbuilds.org & many vectrum Linux - Member Desktop Screenshots 5 02-03-2013 12:22 PM
LXer: News: Kernel.org Hacked but Development Continues on Github LXer Syndicated Linux News 0 09-08-2011 08:20 AM
Use SlackBuilds.org or my own hosting to offer up SlackBuilds? hollywoodb Slackware 6 11-30-2006 08:56 PM

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

All times are GMT -5. The time now is 08:20 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