You are not logged in.

#251 2013-08-26 18:56:51

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,162
Website

Re: Project ARM :: Arch Rollback Machine

HalosGhost wrote:
karol wrote:
alphaniner wrote:

ALPaCa ?

Remember to add the standard disclaimer: "No animals were harmed in the creating of this package cache."

alpaca.org seems to be taken, but maybe they could be persuaded to part with it?

If this is at all a possibility, I'd vote for ALPaCa tongue

All the best,

-HG

Another +1 for ALPaCa (HALP was good, but this is awesome).


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#252 2013-08-26 21:24:05

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,054

Re: Project ARM :: Arch Rollback Machine

Trilby wrote:

Arch Linux Packages Online
http://coupons-kingdom.com/wp-content/uploads/alpo.jpg

Packages, in gravy.

This food looks worse than spam: spam

Offline

#253 2013-08-26 21:26:34

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,520
Website

Re: Project ARM :: Arch Rollback Machine

Well, alpo is dog food!  (A very common - but dreadfully bad - brand of pet food here in the US)

EDIT: I hope this doesn't offend any dog owners who use Alpo.  But if there are any, I do hope it makes them rethink the choice.

Last edited by Trilby (2013-08-26 21:27:26)


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Online

#254 2013-08-26 21:33:35

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,604

Re: Project ARM :: Arch Rollback Machine

SPAM is a great camp-food and delicious when pan-fried... but the best mystery-meat concoction is scrapple.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#255 2013-08-27 01:37:46

phoenixlzx
Member
Registered: 2011-02-15
Posts: 49
Website

Re: Project ARM :: Arch Rollback Machine

Hello,

I've updated the server script as downgrader's author requested, I added package release to the end of each line. So the return results will be:

pkgrepo|pkgname|pkgarch|pkgver|downloadurl|pkgrelease

Both downgrade and downgrader have updated at AUR and now should be usable.

PS. If anyone have a copy of old packages archive, please contact me.

Offline

#256 2013-08-27 03:40:39

steve___
Member
Registered: 2008-02-24
Posts: 439

Re: Project ARM :: Arch Rollback Machine

phoenixlzx wrote:

PS. If anyone have a copy of old packages archive, please contact me.

I have over 600GB but my upload isn't very fast.  I could snail mail
someone a hdd.  I'm in Canada.

Offline

#257 2013-08-27 04:24:22

phoenixlzx
Member
Registered: 2011-02-15
Posts: 49
Website

Re: Project ARM :: Arch Rollback Machine

steve___ wrote:
phoenixlzx wrote:

PS. If anyone have a copy of old packages archive, please contact me.

I have over 600GB but my upload isn't very fast.  I could snail mail
someone a hdd.  I'm in Canada.

Sorry, currently we have only 300GB of space in our server, and we are in China (too far..).

Any better idea?

===EDIT===

Our server is hosted at Fiberhub Las Vegas Datacenter in US.

Last edited by phoenixlzx (2013-08-27 04:27:26)

Offline

#258 2013-08-28 16:53:28

psocket
Member
From: Boston, MA
Registered: 2013-08-19
Posts: 7

Re: Project ARM :: Arch Rollback Machine

phoenixlzx wrote:
steve___ wrote:
phoenixlzx wrote:

PS. If anyone have a copy of old packages archive, please contact me.

I have over 600GB but my upload isn't very fast.  I could snail mail
someone a hdd.  I'm in Canada.

Sorry, currently we have only 300GB of space in our server, and we are in China (too far..).

Any better idea?

===EDIT===

Our server is hosted at Fiberhub Las Vegas Datacenter in US.

I have access to ~100Mb upstream and could upload the data from Boston, MA.

Offline

#259 2013-09-02 01:23:49

kachelaqa
Member
Registered: 2010-09-26
Posts: 215

Re: Project ARM :: Arch Rollback Machine

There seems to be a problem with the search script when searching for packages with names that contain special characters.

For instance, the crypto++ package is available for download in the repo:

http://repo-arm-download.archlinuxcn.org/extra/os/x86_64/crypto++-5.6.2-1-x86_64.pkg.tar.xz

But neither of these search urls produces a result:

http://repo-arm.archlinuxcn.org/search?arch=x86_64&pkgname=crypto++
http://repo-arm.archlinuxcn.org/search?arch=x86_64&pkgname=crypto%2B%2B

I'm guessing the search script doesn't decode the pkgname parameter properly before making the database query.

Offline

#260 2013-09-02 02:17:49

phoenixlzx
Member
Registered: 2011-02-15
Posts: 49
Website

Re: Project ARM :: Arch Rollback Machine

Hello,

It's not a bug, the package 'crypto++' just not in the pkginfo.db database.

My fault, I should start archrepo2 after the first rsync process finished. I'll delete the pkginfo.db file and re-generate one. It may take some time.

Offline

#261 2013-09-02 06:42:02

lilydjwg
Member
Registered: 2010-06-20
Posts: 46

Re: Project ARM :: Arch Rollback Machine

phoenixlzx wrote:

Hello,

It's not a bug, the package 'crypto++' just not in the pkginfo.db database.

My fault, I should start archrepo2 after the first rsync process finished. I'll delete the pkginfo.db file and re-generate one. It may take some time.

You can start archrepo2 before that.

Last edited by lilydjwg (2013-09-02 06:46:39)

Offline

#262 2013-09-02 07:42:29

phoenixlzx
Member
Registered: 2011-02-15
Posts: 49
Website

Re: Project ARM :: Arch Rollback Machine

lilydjwg wrote:
phoenixlzx wrote:

Hello,

It's not a bug, the package 'crypto++' just not in the pkginfo.db database.

My fault, I should start archrepo2 after the first rsync process finished. I'll delete the pkginfo.db file and re-generate one. It may take some time.

You can start archrepo2 before that.

I have run into this problem once, there was only i686 version of flashplugin in the database.
This problem should be solved now.

Offline

#263 2013-09-02 11:46:28

phoenixlzx
Member
Registered: 2011-02-15
Posts: 49
Website

Re: Project ARM :: Arch Rollback Machine

Well the '+' in query string seems to be trimmed when passing to app route.

So it should be 'crypto%2B%2B'.

Thanks @kachelaqa.

Offline

#264 2013-09-03 00:08:59

kachelaqa
Member
Registered: 2010-09-26
Posts: 215

Re: Project ARM :: Arch Rollback Machine

phoenixlzx wrote:

Well the '+' in query string seems to be trimmed when passing to app route.

So it should be 'crypto%2B%2B'.

Thanks @kachelaqa.

And thanks to you for looking into this: but I'm afraid we're not quite there yet!

There are quite a few package names with non-alphanumeric characters other than "+".

For instance, there's plenty of package names containing dots in extra, e.g:

http://repo-arm-download.archlinuxcn.org/extra/os/x86_64/gstreamer0.10-0.10.36-2-x86_64.pkg.tar.xz
http://repo-arm-download.archlinuxcn.org/extra/os/x86_64/autoconf2.13-2.13-2-any.pkg.tar.xz
http://repo-arm-download.archlinuxcn.org/extra/os/x86_64/guile1.8-1.8.8-3-x86_64.pkg.tar.xz

and there's even one with an "@":

http://repo-arm-download.archlinuxcn.org/extra/os/x86_64/kde-l10n-ca@valencia-4.11.0-1-any.pkg.tar.xz

Searching for these currently produces no result. (I haven't checked all the repos that you currently host, but there may be other examples that I'm not aware of).

It would be great if you could fix things so that all valid package name characters are supported. By "valid", I mean the ones that actually can and do appear in package names, rather than the conventional alphanumeric set suggested by the Arch Packaging Standards.

PS: Many thanks for your efforts in resurrecting this vital community resource! smile

PPS: I'm going to buck the trend and say that the name should remain exactly as it is. I don't think it matters at all that the acronym isn't unique: very few acronyms are. Long live the Arch Rollback Machine!

Last edited by kachelaqa (2013-09-03 00:36:21)

Offline

#265 2013-09-03 00:18:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,423

Re: Project ARM :: Arch Rollback Machine

kachelaqa wrote:

and there's even one with an ampersand:

http://repo-arm-download.archlinuxcn.org/extra/os/x86_64/kde-l10n-ca@valencia-4.11.0-1-any.pkg.tar.xz

ampersand = '&' https://en.wikipedia.org/wiki/Ampersand
'@' = https://en.wikipedia.org/wiki/At_sign

Offline

#266 2013-09-03 00:39:06

kachelaqa
Member
Registered: 2010-09-26
Posts: 215

Re: Project ARM :: Arch Rollback Machine

karol wrote:
kachelaqa wrote:

and there's even one with an ampersand:

http://repo-arm-download.archlinuxcn.org/extra/os/x86_64/kde-l10n-ca@valencia-4.11.0-1-any.pkg.tar.xz

ampersand = '&' https://en.wikipedia.org/wiki/Ampersand
'@' = https://en.wikipedia.org/wiki/At_sign

Hah! Yeah, that's what I meant. Well-spotted!

Offline

#267 2013-09-03 01:04:45

progandy
Member
Registered: 2012-05-17
Posts: 2,146

Re: Project ARM :: Arch Rollback Machine

Hmm, why is it so difficult? I guess this would be a valid and simple arm setup:

- rsync mirror without pool directory (with deletion) to /ARM/
- start inotify watch
.. - rsync pool directory (without deletion to keep old packages) to /ARM/pool/
.. - in inotify read all .PKGINFO files in packages and setup SQL database
.. .. detect repo: for each {reponame} test if /ARM/{reponame}/os/{arch}/{package} exists 
- copy everything except pool into /ARM/yyyy/mm/dd
- create symlink /ARM/yyyy/mm/dd/pool -> ../../../pool

result:
arm.exampl.com is a normal mirror
arm.exampl.com/yyyy/mm/dd is a mirror for a specific day
add something like arm.exampl.com/search.php (maybe even index.php) to search the sql database.
you can skip the inotify stuff if you like to use a glob search

Offline

#268 2013-09-03 06:57:02

phoenixlzx
Member
Registered: 2011-02-15
Posts: 49
Website

Re: Project ARM :: Arch Rollback Machine

Hello,

I added two new API using POST method, so post data could be automatically encoded using curl --data-urlencode.

And @lilydjwg has updated archrepo2, which should fix the package naming problem.

Currently we are still working on this issue to see if they work properly.

Offline

#269 2013-09-04 12:07:19

Thorsten Reinbold
Member
From: Germany
Registered: 2011-12-06
Posts: 314

Re: Project ARM :: Arch Rollback Machine

Is http://arm.konnichi.com/ down? I cannot reach the site.

Offline

#270 2013-09-04 12:10:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,423

Re: Project ARM :: Arch Rollback Machine

Thorsten Reinbold wrote:

Is http://arm.konnichi.com/ down? I cannot reach the site.

ARM is no more: https://bbs.archlinux.org/viewtopic.php … 0#p1313360

Offline

#271 2013-09-04 12:12:44

Thorsten Reinbold
Member
From: Germany
Registered: 2011-12-06
Posts: 314

Re: Project ARM :: Arch Rollback Machine

Ups. Didn't read so far. That's really sad. Is it Ok to edit the "Downgrade Packages" Wiki page?

Offline

#272 2013-09-04 12:15:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,423

Re: Project ARM :: Arch Rollback Machine

Thorsten Reinbold wrote:

Ups. Didn't read so far. That's really sad. Is it Ok to edit the "Downgrade Packages" Wiki page?

There already is a note that says

Arch Rollback Machine has closed on 2013-08-18

with a link I posted in my previous post.
ARM may be reborn (read the couple last posts about the efforts), so we decided not to remove the info altogether.

https://wiki.archlinux.org/index.php/Do … ck_Machine

Offline

#273 2013-09-04 12:17:54

Thorsten Reinbold
Member
From: Germany
Registered: 2011-12-06
Posts: 314

Re: Project ARM :: Arch Rollback Machine

Thanks for the info. And sorry again, I really should stop saving wiki pages as pdf for offline usage.

Offline

#274 2013-09-04 12:20:19

karol
Archivist
Registered: 2009-05-06
Posts: 25,423

Re: Project ARM :: Arch Rollback Machine

Thorsten Reinbold wrote:

I really should stop saving wiki pages as pdf for offline usage.

There's absolutely nothing wrong with this, although it may be a bit difficult to compare the changes between the version you have and the current state of the wiki.

Offline

#275 2013-09-05 00:56:45

seblu
Developer
From: Paris
Registered: 2011-01-20
Posts: 8

Re: Project ARM :: Arch Rollback Machine

I setup an ARM-like on one server. You can access it at: http://seblu.net/a/arm/.

More on arch-general post.

Offline

Board footer

Powered by FluxBB