You are not logged in.

#226 2013-08-23 14:02:35

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

Re: Project ARM :: Arch Rollback Machine

Here is the script I use locally -- http://sprunge.us/gGdg

I have it run by cron once a day:

30 07 * * *     $HOME/bin/syncrepo -s 

Offline

#227 2013-08-23 16:23:26

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

Re: Project ARM :: Arch Rollback Machine

'downgrade' is not the only script used for downgrading.

Have you considered changing the name of the service so it doesn't collide with a popular CPU architecture?

Offline

#228 2013-08-23 16:25:45

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

Re: Project ARM :: Arch Rollback Machine

karol wrote:

'Have you considered changing the name of the service so it doesn't collide with a popular CPU architecture?

I agree, ARM is now a confusing name.

Offline

#229 2013-08-23 16:40:58

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Project ARM :: Arch Rollback Machine

Indeed.

How about "Arch Package Cache" (APC).

Offline

#230 2013-08-23 16:51:34

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

Re: Project ARM :: Arch Rollback Machine

x33a wrote:

Indeed.

How about "Arch Package Cache" (APC).

Or 'Arch Linux Package Cache' ;P
https://bbs.archlinux.org/viewtopic.php?id=168187

Offline

#231 2013-08-23 16:54:28

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

Re: Project ARM :: Arch Rollback Machine

@steve___, thank you very much for your script, we'll take it for a good example.

APC is till confusing with the PHP Accelerator APC, any other suggestions?

'downgrade' may be the most popular downgrade script, but I'll try to inform all the similiar scripts authors.

Offline

#232 2013-08-23 17:11:36

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

Re: Project ARM :: Arch Rollback Machine

phoenixlzx wrote:

'downgrade' may be the most popular downgrade script, but I'll try to inform all the similiar scripts authors.

Thanks. Maybe posting on the AUR pages of the respective packages would be a good idea, as not every ARM user is aware that ARM closed down: https://mailman.archlinux.org/pipermail … 34054.html


ALPC http://acronyms.thefreedictionary.com/ALPC conflicts with Adaptive Linear Predictive Coding and Advanced Local Procedure Call.
Do you prefer three-letter acronyms?

I'd call it Old Arch Linux Packages - OALP.

Last edited by karol (2013-08-23 17:12:28)

Offline

#233 2013-08-23 17:11:44

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Project ARM :: Arch Rollback Machine

karol wrote:
x33a wrote:

Indeed.

How about "Arch Package Cache" (APC).

Or 'Arch Linux Package Cache' ;P
https://bbs.archlinux.org/viewtopic.php?id=168187

Well looking at phoenixlzx's reply, it might not be a bad suggestion.

What do you say phoenixlzx?

Arch Linux Package Cache (ALPC).

Offline

#234 2013-08-23 17:22:24

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

Re: Project ARM :: Arch Rollback Machine

'ALPC' seems better than APC and ARM, it seems hard to find an abbr that wont conflict with anything today XD.

We will take 'ALPC' as one of the consideration, thanks for the idea.

And I'm testing our new platform on the server now, seems everything good except it take toooo long time to finish the first sync, thus database is being locking for long ( couldnt query... ).

Offline

#235 2013-08-23 17:26:38

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Project ARM :: Arch Rollback Machine

karol wrote:

I'd call it Old Arch Linux Packages - OALP.

I was thinking about Historical Arch Linux Packages (HALP).

It seems almost fitting, as most people turned to ARM, when they needed "HELP" tongue

Offline

#236 2013-08-23 17:41:50

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

Re: Project ARM :: Arch Rollback Machine

x33a wrote:

I was thinking about Historical Arch Linux Packages (HALP).

It seems almost fitting, as most people turned to ARM, when they needed "HELP" tongue

That is genious (have a cookie big_smile ). My vote was with Arch Linux Package Cache (ALPC) until I saw that (not that votes here count hmm )

Last edited by clfarron4 (2013-08-23 17:42:44)


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

#237 2013-08-23 17:48:09

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

Re: Project ARM :: Arch Rollback Machine

Well it wont be old at all - we will sync with official repo at least once every day, it can be used as daily update mirror if you dont mind. So it's an 'Arch Package Archive' - 'APA', or 'Arch Linux Package Archive' if you like. ;-)

Offline

#238 2013-08-23 18:10:42

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Project ARM :: Arch Rollback Machine

ALPC, courtesy of ALCC.

Sounds good wink

Offline

#239 2013-08-23 18:13:28

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

Re: Project ARM :: Arch Rollback Machine

karol wrote:
x33a wrote:

Indeed.

How about "Arch Package Cache" (APC).

Or 'Arch Linux Package Cache' ;P
https://bbs.archlinux.org/viewtopic.php?id=168187

ALPaCa ?


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

#240 2013-08-23 19:10:09

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

Re: Project ARM :: Arch Rollback Machine

alphaniner wrote:
karol wrote:
x33a wrote:

Indeed.

How about "Arch Package Cache" (APC).

Or 'Arch Linux Package Cache' ;P
https://bbs.archlinux.org/viewtopic.php?id=168187

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?
We are the Borg Arch. All your alpacas are belong to us.

Offline

#241 2013-08-24 03:35:30

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

Re: Project ARM :: Arch Rollback Machine

Hello,

We are now have the new server up and running. Basic functionality is correctly implemented as planned. Next step is implementing daily-repo functionality.

You could test it at http://repo-arm.archlinuxcn.org (new name isnt decided yet) and follow the instructions below.

The new search pattern is

/search?arch=$arch&pkgname=$pkgname

where $arch can be both `i686` and `x86_64`, `any` packages will be automatically added, $pkgname is _exactly_ the package name. The query will return in format:

pkgrepo|pkgname|arch|pkgver|downloadurl

If no packages found, currently return nothing.
For example, request URL

http://repo-arm.archlinuxcn.org/search?arch=x86_64&pkgname=linux

will get

testing|linux|x86_64|3.10.9-1|http://repo-arm-download.archlinuxcn.org/testing/os/x86_64/linux-3.10.9-1-x86_64.pkg.tar.xz
core|linux|x86_64|3.10.7-1|http://repo-arm-download.archlinuxcn.org/core/os/x86_64/linux-3.10.7-1-x86_64.pkg.tar.xz

in plain text, it will be easy for any script to parse.

Our community server app & configurations can be found at https://github.com/archlinuxcn/repo-arm-server, feedbacks, patches and bug reports are always welcome.

Last edited by phoenixlzx (2013-08-24 03:39:28)

Offline

#242 2013-08-24 03:38:21

HalosGhost
Forum Moderator
From: Twin Cities, MN
Registered: 2012-06-22
Posts: 2,095
Website

Re: Project ARM :: Arch Rollback Machine

karol wrote:
alphaniner wrote:
karol 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

Online

#243 2013-08-24 04:38:39

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Project ARM :: Arch Rollback Machine

eve.png


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#244 2013-08-24 06:50:33

Lance0312
Member
From: Taiwan
Registered: 2012-07-01
Posts: 5
Website

Re: Project ARM :: Arch Rollback Machine

phoenixlzx wrote:

Hello Archers,

As @felixonmars said, we are now preparing to set up a new A.R.M service. I've searched but got nothing, so we finally started from scratch.

Currently I have re-wrote the A.R.M server side script using Node.js, and @lilydjwg is working with package & database management, which could boost the new A.R.M server app. Sync script and daily-repo functionality will be done by @felixonmars.

We will contact the author of downgrade script to adopt our new API after we've got green light on our new platform , so that all need to be done by end users is to upgrade their downgrade package.

Of course, we wont lock these scripts and configurations in our brains. I will post a new article about how to make your own A.R.M service so anyone could make it. :-)

Hello @phoenixlzx,

If you would allow mirroring, my mirror site http://archlinux.cs.nctu.edu.tw could help share the bandwidth!

Offline

#245 2013-08-24 07:19:39

Jristz
Member
From: America/Santiago
Registered: 2011-06-11
Posts: 1,022

Re: Project ARM :: Arch Rollback Machine

AlPaCa +1

but ALPC google suggest OLPC here, so, can have minor problems

Anyway I wnat this so much for a experiment that I want to do


Well, I suppose that this is somekind of signature, no?

Offline

#246 2013-08-24 10:04:15

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

Re: Project ARM :: Arch Rollback Machine

Lance0312 wrote:

Hello @phoenixlzx,

If you would allow mirroring, my mirror site http://archlinux.cs.nctu.edu.tw could help share the bandwidth!

Hello,

Firstly thank you for your support, no problem on mirroring. However, for the package search and daily-repo functionality, setup your own service site will be a better choice (much faster & efficient as you are using your very own mirror.).

I would like to listen to your opinion. We'll release documentation for these scripts we are developing so that anyone could make it.

Offline

#247 2013-08-25 04:24:01

Lance0312
Member
From: Taiwan
Registered: 2012-07-01
Posts: 5
Website

Re: Project ARM :: Arch Rollback Machine

phoenixlzx wrote:

Hello,

Firstly thank you for your support, no problem on mirroring. However, for the package search and daily-repo functionality, setup your own service site will be a better choice (much faster & efficient as you are using your very own mirror.).

I would like to listen to your opinion. We'll release documentation for these scripts we are developing so that anyone could make it.

Hello,

That would be no problem at all!
So, for those who would like to set up a mirror site for ALPC, there are two things to be done:

1. rsync packages regularly from the ALPC upsream(or a tier 1 mirror site, if there is too much mirror sites)
2. grab the kit, including package search(supposed to be a website?), daily-repo and all other stuff, from the ALPC upstream, and set them up right.

Does it sound reasonable? Suggestion please!

Offline

#248 2013-08-25 05:32:01

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

Re: Project ARM :: Arch Rollback Machine

Lance0312 wrote:

Hello,

That would be no problem at all!
So, for those who would like to set up a mirror site for ALPC, there are two things to be done:

1. rsync packages regularly from the ALPC upsream(or a tier 1 mirror site, if there is too much mirror sites)
2. grab the kit, including package search(supposed to be a website?), daily-repo and all other stuff, from the ALPC upstream, and set them up right.

Does it sound reasonable? Suggestion please!

Yep, you are right.

I have post the first version of the HOW-TO document here: https://github.com/archlinuxcn/repo-arm … .M-Service

You could setup your own A.R.M service follow the instruction. If you run into any trouble, contact us via new issue. :-)

Offline

#249 2013-08-26 18:41:55

aksr
Member
Registered: 2011-03-16
Posts: 14

Re: Project ARM :: Arch Rollback Machine

Why not just ALPA (Arch Linux Package Archive)?

Offline

#250 2013-08-26 18:48:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: Project ARM :: Arch Rollback Machine

Arch Linux Packages Online
alpo

Packages, in gravy.

While it's a shorter acronym, ALPO, may contain ALPACA...

Last edited by Trilby (2013-08-26 18:48:51)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB