You are here

Update repository a'la Debian?

11 posts / 0 new
Last post
beneedict
Offline
Last seen: 17 years 2 months ago
Joined: 2007-10-29 08:57
Update repository a'la Debian?

I think it would be great to have a kind of update repository or a software looking for available updates and applying them since this would help to keep ones software up to date and would make the installation and upgrade of software easier! Preferably the updates should be performed on demand so one can start them when a fast internet connection is available?
And thank you for this great software, it helps a lot! especially openoffice.portable since openoffice is not that widespread on windows-computers yet! But also firefox ...

José Pedro Arvela
Offline
Last seen: 5 years 12 months ago
Joined: 2007-07-10 07:29
Great idea

It is a great idea (did you saw my idea?). I am in favor of the repository idea. Also, it seems that it is already in development, but stalled.

Blue is everything.

rab040ma
Offline
Last seen: 6 months 1 day ago
Joined: 2007-08-27 13:35
I don't think that is

I don't think that is possible with SourceForge. At any rate, the question arises: where will all of those mirrors come from? Who will arrange for them and/or pay the bills?

Not an impossible task, as it has been done by other open source projects.

Anyway, I could be wrong, but I'm thinking that is what is holding up several update or packaging ideas, not lack of ideas.

MC

José Pedro Arvela
Offline
Last seen: 5 years 12 months ago
Joined: 2007-07-10 07:29
?

You're talking of my original idea, right?

No, it is possible. My idea is to have a web page that links to the direct download at SourceFourge. SourceFourge already has mirrors (there is even an option to choose which mirror to choose at the download page). And for each app updated, some minutes might be spent updating the repositories.

If you're talking of his idea, then... He never talked about mirrors, and for having some, there's only the need to have a ftp server anywhere (normally universities allow some space of their ftp servers, at least here).

Blue is everything.

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 2 months ago
Joined: 2006-01-06 21:27
Gah!

I've already written a base for code for this kind of idea. Hopefully John will take the idea and run with it.

Also, you can download directly from a SF page with the right parameters.

"If you're not part of the solution, you're part of the precipitate."

rab040ma
Offline
Last seen: 6 months 1 day ago
Joined: 2007-08-27 13:35
Sorry

1. What will it take to get the repository/autoupdate thing going?

Maybe John is waiting until all the files are signed (that would be a very good idea on an autoupdate process)? Or maybe his plate is too full and he hasn't been able to delegate the auto-update task yet?

2. You mention parameters. Is the download from SF just a matter of following the redirect (Location) or does the URL have to be formed in a specific way? I'm a bit dense today and can't seem to find the HOWTO for that.

MC

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 2 months ago
Joined: 2006-01-06 21:27
Well,

AFAIK, there's no documentation on downloading directly from SourceForge, but I believe if you use ?download or something, it should work directly (or maybe, you don't have ?download and it does it. Meh).

"If you're not part of the solution, you're part of the precipitate."

BuddhaChu
BuddhaChu's picture
Offline
Last seen: 6 months 4 days ago
Joined: 2006-11-18 10:26
You can download directly

You can download directly from a mirror. The URL gets converted into this format after you pick a mirror or one gets picked for you:

http://[mirror_name].sourceforge.net/sourceforge/[sf_project_name]/[filename]

Example:
http://superb-west.dl.sourceforge.net/sourceforge/buddhachu-pa/Wormux_Po...

If you had a way for users to pick the mirror closest to them then you could slide it right into the URL.

Cancer Survivors -- Remember the fight, celebrate the victory!
Help control the rugrat population -- have yourself spayed or neutered!

Ryan McCue
Ryan McCue's picture
Offline
Last seen: 15 years 2 months ago
Joined: 2006-01-06 21:27
Not the point

I'm saying that if you use something like cURL to download the actual page you are linked to, on downloads.sf.net, then it downloads the file, not the page. Also works with the InetLoad NSIS extension (I've done experiments).
I'll probably take a look at the last version of SF that was open source to see how it works it out.
Edit: Yep, seems to do it if you have no parameters to the url.

"If you're not part of the solution, you're part of the precipitate."

rab040ma
Offline
Last seen: 6 months 1 day ago
Joined: 2007-08-27 13:35
mirrors

I'm thinking that SF.net would prefer that the thousands of PA downloads be balanced across their mirrors.

In my experimentation it's not too hard to follow their redirect to one of the mirrors. I'm not impressed with their geolocator; it seems to have me downloading from the US west coast, instead of one of the mirrors closer to home. But at least following the redirect balances things, and would probably keep PA downloads from getting the wrong kind of attention.

On the other hand, they could just do balancing with DNS on downloads.sourceforge.net. At any rate, we should probably do what meets their policies most closely.

MC

rab040ma
Offline
Last seen: 6 months 1 day ago
Joined: 2007-08-27 13:35
Can't recall

I can't recall your idea exactly, but I'd support any mechanism that gets the job done, meaning it makes it as easy as possible for the end user to Angel find out when an update is available and (b) have the update applied with a minimum of fuss, preferably by clicking a button in the PAM.

MC

Log in or register to post comments