LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-22-2017, 03:52 PM   #1
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,699

Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Dropbox public folder alternative for SBo sources?


a few of the slackbuilds I maintain have the sources on my dropbox public folder, however now that dropbox has dropped public folders I need to find an alternate place to host the sources. Anyone have suggestions on a good alternative?

Thanks
 
Old 03-22-2017, 04:58 PM   #2
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
What about github?
 
Old 03-22-2017, 05:07 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,246

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
Quote:
Originally Posted by jostber View Post
What about github?
That's not really optimized for hosting WGET-able tarballs.
 
Old 03-22-2017, 05:37 PM   #4
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
As far as I can tell from reading this page, you can still use the Dropbox 'create a shared link'? (Haven't tried it myself)
 
Old 03-22-2017, 05:58 PM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
maybe look into one of these
Best Cloud Storage Services For Backup
 
Old 03-22-2017, 06:34 PM   #6
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 917

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by dugan View Post
That's not really optimized for hosting WGET-able tarballs.
SBo has over 1000 scripts which use a github tarball in the DOWNLOAD field to use with (typically) wget. It's true that some maintainers don't craft the url very well, resulting in downloaded tarballs with no name - just a release tag. However these urls are easily manipulated to download correctly named tarballs. For example, the default
Code:
https://github.com/cwilling/hoorex/archive/0.6.0.tar.gz
(as taken from the Releases page) downloads 0.6.0.tar.gz using wget.

The correct url for wget is actually
Code:
https://github.com/cwilling/hoorex/archive/0.6.0/hoorex-0.6.0.tar.gz
which downloads the expected hoorex-0.6.0.tar.gz tarball. As far as I know, any github url can be manipulated in this way for use with wget.

chris
 
1 members found this post helpful.
Old 03-22-2017, 07:24 PM   #7
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 chris.willing View Post
SBo has over 1000 scripts which use a github tarball in the DOWNLOAD field to use with (typically) wget. It's true that some maintainers don't craft the url very well, resulting in downloaded tarballs with no name - just a release tag. However these urls are easily manipulated to download correctly named tarballs. For example, the default
Code:
https://github.com/cwilling/hoorex/archive/0.6.0.tar.gz
(as taken from the Releases page) downloads 0.6.0.tar.gz using wget.

The correct url for wget is actually
Code:
https://github.com/cwilling/hoorex/archive/0.6.0/hoorex-0.6.0.tar.gz
which downloads the expected hoorex-0.6.0.tar.gz tarball. As far as I know, any github url can be manipulated in this way for use with wget.

chris
From my understanding of the initial post, these would be tarballs that he would upload for people to download. Probably source that doesn't have a homepage anymore. It wouldn't be a release tarball generated by github.

I'm not sure if github's policies permit that type of hosting.
 
Old 03-22-2017, 07:26 PM   #8
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
oh yeah ... what about Sourceforge?
that is where mine is and it gets pulled for slackbuilds and works too

Last edited by BW-userx; 03-22-2017 at 07:34 PM.
 
Old 03-22-2017, 07:39 PM   #9
chris.willing
Member
 
Registered: Jun 2014
Location: Brisbane, Australia
Distribution: Slackware,LFS
Posts: 917

Rep: Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619Reputation: 619
Quote:
Originally Posted by bassmadrigal View Post
From my understanding of the initial post, these would be tarballs that he would upload for people to download. Probably source that doesn't have a homepage anymore. It wouldn't be a release tarball generated by github.

I'm not sure if github's policies permit that type of hosting.
Yes, I was assuming that the OP wanted to store sources - source code files from which tarballs would be generated via a release (not store & distribute externally generated tarballs).

chris
 
Old 03-22-2017, 08:38 PM   #10
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
@Daedra, I wonder if you are able to upload the source itself to github and then use github's tarball generation for the release?

But then I don't know enough about opensource licenses to say whether this would be ok or not...
 
Old 03-22-2017, 10:19 PM   #11
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,246

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
Quote:
Originally Posted by chris.willing View Post
Yes, I was assuming that the OP wanted to store sources - source code files from which tarballs would be generated via a release (not store & distribute externally generated tarballs).
The OP wants hosting for externally generated tarballs.
 
Old 03-22-2017, 10:49 PM   #12
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,246

Rep: Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323Reputation: 5323
PM me. I have webhosting and I'll host them.
 
Old 03-23-2017, 12:31 AM   #13
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,699

Original Poster
Rep: Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381Reputation: 1381
Hey everyone, after a few tests it seems that dropbox share linking as explained in the above post seems to be working. I only have around four files I need to have hosted. So as of now I'm all good. And Dugan thank you for offering your space I appreciate it.

And Dugan is right, the sources I have are github clones because there is no official release, so I needed a place to host the generated tarball for SBo purposes.

Last edited by Daedra; 03-23-2017 at 12:32 AM.
 
Old 03-23-2017, 03:03 AM   #14
audriusk
Member
 
Registered: Mar 2011
Location: Klaipėda, Lithuania
Distribution: Slackware
Posts: 362

Rep: Reputation: 200Reputation: 200Reputation: 200
You should be able to host any tarballs (not only generated from source) at Bitbucket, you just need to create an empty repository for that and upload files to Downloads section. At least it was possible not too long ago, can't check at the moment if this feature is still there.
 
Old 03-23-2017, 04:46 AM   #15
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by Daedra View Post
the sources I have are github clones because there is no official release
It's possible to craft a Github download for a specific release as a variant of the trick Chris Willing outlined above. I'm not saying you should do that, it's not pretty, but it's possible.

The URL would be
Code:
https://github.com/cwilling/hoorex/archive/101df8676c46d9c6c55206a5f627359b1e8f7877/hoorex-101df8676c46d9c6c55206a5f627359b1e8f7877.tar.gz
But that needs quite a lot of extra code in the SlackBuild, and the 40 character git commit is really ugly. You can shorten the first one in the url, but it has to be the full 40 chars in the tarball name and in the tar extract and the top level directory name. If you are thinking "noooooo!" then that's ok, your selfhosted snapshots are perfectly acceptable.
 
1 members found this post helpful.
  


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] Alternative to DropBox Fixit7 Puppy 5 11-25-2015 02:47 AM
LXer: BitTorrent Launches Private and Secure Dropbox Alternative LXer Syndicated Linux News 1 07-17-2013 01:12 PM
when links to slackbuild sources get deprecated (OOo SBo-13.1 for eg) dh2k Slackware 2 06-03-2012 04:34 AM
[SOLVED] Dropbox Public Link from Dolphin? BoydRice Slackware 3 04-24-2012 07:56 PM
Opensource dropbox alternative (owncloud) Iskorptix Linux - Server 1 07-01-2011 08:27 AM

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

All times are GMT -5. The time now is 02:50 PM.

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