You are not logged in.

#26 2011-11-29 08:32:49

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

Re: [Announcement] First public git repo of the complete AUR

Last update to the repo is from Mon Nov 28 21:08:22 UTC 2011 - 11 hours ago. Why did it stop updating?

Offline

#27 2011-11-29 14:59:30

tomd123
Developer
Registered: 2008-08-12
Posts: 565

Re: [Announcement] First public git repo of the complete AUR

I looked into it and it seems that it fails to sync with the aur server.
I think it may have something to do with the recent hdd maintenance required for the aur server.
I will try to contact some people who are in charge of that server.

Offline

#28 2011-11-29 15:20:29

tomd123
Developer
Registered: 2008-08-12
Posts: 565

Re: [Announcement] First public git repo of the complete AUR

Fixed it.
For some reason the sync was getting stuck, and it resolved itself when I was playing around with it.
I think it has something to do with the aur server getting a new hard drive.

Offline

#29 2011-12-31 18:06:55

tomd123
Developer
Registered: 2008-08-12
Posts: 565

Re: [Announcement] First public git repo of the complete AUR

Fixed the mirror to sync again.
I filed a bug as a result of the recent break, you can check out the bug report [1] for full details.

https://bugs.archlinux.org/task/27754

Offline

#30 2012-01-26 21:05:12

tomd123
Developer
Registered: 2008-08-12
Posts: 565

Re: [Announcement] First public git repo of the complete AUR

url has changed to http://pkgbuild.com/git/aur-mirror.git/
the git url has changed to git://pkgbuild.com/aur-mirror.git

using a nicer script to update the repos, should contain less garbage files.

Also, I switched the sync time from every 30 minutes to every 1 hour.

Updated aur-git in https://aur.archlinux.org/packages.php?ID=50660

The reason for these changes is that another TU was hosting his own aur mirror in git and we decided to merge the repos into the pkgbuild.com one.
So you should get the benefits of having my long history in git and his scripts which make a cleaner git repo (no loose files).

Cheers and let me know if you have any problems.

Last edited by tomd123 (2012-01-26 21:34:47)

Offline

#31 2012-02-15 18:13:05

techlive
Member
Registered: 2009-05-02
Posts: 25

Re: [Announcement] First public git repo of the complete AUR

It seems this git mirror does not sync the PKGBUILD deleteion.The deleted PKGBUILD still in aur git mirror.

Offline

#32 2012-02-16 05:29:47

tomd123
Developer
Registered: 2008-08-12
Posts: 565

Re: [Announcement] First public git repo of the complete AUR

It doesn't immediately delete it.
When a package gets deleted, it only gets marked for deletion on the server.
A seperate process makes sure to remove all deleted packages in a single run, periodically.
It is only a matter of time before the next time it is run and it will get deleted from the aur-mirror.git repo

This is how the aur works, not my mirror.

Last edited by tomd123 (2012-02-16 05:30:18)

Offline

#33 2012-02-16 20:55:24

techlive
Member
Registered: 2009-05-02
Posts: 25

Re: [Announcement] First public git repo of the complete AUR

tomd123 wrote:

It doesn't immediately delete it.
When a package gets deleted, it only gets marked for deletion on the server.
A seperate process makes sure to remove all deleted packages in a single run, periodically.
It is only a matter of time before the next time it is run and it will get deleted from the aur-mirror.git repo

This is how the aur works, not my mirror.

How man time does it take between the two deletion of the AUR?

Offline

#34 2012-02-20 03:04:42

rhd
Member
From: /dev/knoll
Registered: 2010-10-25
Posts: 18
Website

Re: [Announcement] First public git repo of the complete AUR

moonbots: yes, separate ones would sure beat a multi-megabyte checkout of the whole thing big_smile

I'm willing to contribute if you put the script on github!

Last edited by rhd (2012-02-20 03:05:36)

Offline

#35 2012-02-20 03:57:08

tomd123
Developer
Registered: 2008-08-12
Posts: 565

Re: [Announcement] First public git repo of the complete AUR

techlive wrote:
tomd123 wrote:

It doesn't immediately delete it.
When a package gets deleted, it only gets marked for deletion on the server.
A seperate process makes sure to remove all deleted packages in a single run, periodically.
It is only a matter of time before the next time it is run and it will get deleted from the aur-mirror.git repo

This is how the aur works, not my mirror.

How man time does it take between the two deletion of the AUR?

From what I know, it's a script that someone runs manually every once in a while.

Offline

#36 2012-02-20 04:00:39

tomd123
Developer
Registered: 2008-08-12
Posts: 565

Re: [Announcement] First public git repo of the complete AUR

rhd wrote:

moonbots: yes, separate ones would sure beat a multi-megabyte checkout of the whole thing big_smile

I'm willing to contribute if you put the script on github!

The script is on github at: https://github.com/gostrc/aurgit/blob/m … ate-aur.sh
You wont be able to rsync because I run it from a whitelisted ip.

I'm not really interested in having one repo per package right now.
Thanks for your consideration though smile

Offline

#37 2012-02-20 04:18:14

techlive
Member
Registered: 2009-05-02
Posts: 25

Re: [Announcement] First public git repo of the complete AUR

tomd123 wrote:
techlive wrote:
tomd123 wrote:

It doesn't immediately delete it.
When a package gets deleted, it only gets marked for deletion on the server.
A seperate process makes sure to remove all deleted packages in a single run, periodically.
It is only a matter of time before the next time it is run and it will get deleted from the aur-mirror.git repo

This is how the aur works, not my mirror.

How man time does it take between the two deletion of the AUR?

From what I know, it's a script that someone runs manually every once in a while.

Is there any reason why set it up as a cron job?

Offline

#38 2012-02-20 04:21:52

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

Re: [Announcement] First public git repo of the complete AUR

techlive wrote:

Is there any reason why set it up as a cron job?

Maybe to reduce load on the server?
What other way do you suggest?

Offline

#39 2012-02-20 04:24:42

techlive
Member
Registered: 2009-05-02
Posts: 25

Re: [Announcement] First public git repo of the complete AUR

tomd123 wrote:
rhd wrote:

moonbots: yes, separate ones would sure beat a multi-megabyte checkout of the whole thing big_smile

I'm willing to contribute if you put the script on github!

The script is on github at: https://github.com/gostrc/aurgit/blob/m … ate-aur.sh
You wont be able to rsync because I run it from a whitelisted ip.

I'm not really interested in having one repo per package right now.
Thanks for your consideration though smile


Per package is not accturally needed, if a package alone git history is needed, one can easily get that by running the script below:

#!/bin/bash
# $1:original aur git repo
# $2:package name(in aur git repo,it is a subtree)

git clone --no-hardlinks $1 $2

cd $2

git filter-branch --subdirectory-filter $2 --prune-empty --tag-name-filter cat HEAD -- --all

git reset --hard

git remote rm origin

refbak=$(git for-each-ref --format="%(refname)" refs/original/)
if [ -n "$refbak" ];then
    echo -n $refbak | xargs -n 1 git update-ref -d
fi

git reflog expire --expire=now --all

git repack -ad

git gc --aggressive --prune=now

Offline

#40 2012-02-20 04:28:52

techlive
Member
Registered: 2009-05-02
Posts: 25

Re: [Announcement] First public git repo of the complete AUR

karol wrote:
techlive wrote:

Is there any reason why set it up as a cron job?

Maybe to reduce load on the server?
What other way do you suggest?

I don‘t know, but deleted package get removed in time I think is good for a aur gir mirror. Thus we can known the exatly lift time of a package from aur mirror, sometimes for a review purpose.

Offline

#41 2012-02-20 04:32:37

techlive
Member
Registered: 2009-05-02
Posts: 25

Re: [Announcement] First public git repo of the complete AUR

tomd123 wrote:
rhd wrote:

moonbots: yes, separate ones would sure beat a multi-megabyte checkout of the whole thing big_smile

I'm willing to contribute if you put the script on github!

The script is on github at: https://github.com/gostrc/aurgit/blob/m … ate-aur.sh
You wont be able to rsync because I run it from a whitelisted ip.

I'm not really interested in having one repo per package right now.
Thanks for your consideration though smile

Per package repo is not necessary, but I think package modification trigled git commition is better. We can get all the packages in one git repo, but get modification of PKGBUILD commited each time a package has been updated.

Offline

#42 2012-04-18 23:47:45

dodo3773
Member
Registered: 2011-03-17
Posts: 801

Re: [Announcement] First public git repo of the complete AUR

Thanks for aur-git. It is awesome. I really like it. The reason I wanted it is because now I can do <TAB><TAB> autocompletion for aur. It took me a while (cause I totally suck at zsh) but here is the function if anyone is interested:
If you want to use ~/.zsh/functions/ for your scripts like I did add:

fpath=( $HOME/.zsh/functions $fpath )

to your .zshrc


~/.zsh/functions/_yaourt

#compdef yaourt
typeset -A opt_args

_localaur () { compadd $(ls /var/aur/) ; }
_yaourt() {	
	'_localaur'
	  }


_yaourt "$@"

If you don't use yaourt just change it to whatever you want and tab away. Make sure to start with part of the name though because it will freeze up displaying 38381 lines haha.

Offline

#43 2012-08-14 06:26:58

chungy
Member
Registered: 2009-09-07
Posts: 32

Re: [Announcement] First public git repo of the complete AUR

This hasn't been updated in a while; is it still alive?

Offline

#44 2012-10-02 13:07:27

markhadman
Member
Registered: 2010-10-09
Posts: 39

Re: [Announcement] First public git repo of the complete AUR

I cloned the repo to my local drive using
git clone git://pkgbuild.com/aur-mirror.git
but as far as I can tell it has only given me single the most recent version of each PKGBUILD.
I need to find an older PKGBUILD, does anybody know how? Are old versions in a particular subfolder?

Offline

#45 2012-10-07 14:43:34

aspidites
Member
Registered: 2011-03-11
Posts: 30

Re: [Announcement] First public git repo of the complete AUR

Check logs for date corresponding with the version of a package that you need, then checkout that hash. Still cloning myself so I don't know if it does, but tags would come in handy here, especially if they were named by a time stamp. Then you could just "git checkout 8-2-12-1300" (aug 2, 2012, 1pm) or similar.

markhadman wrote:

I cloned the repo to my local drive using
git clone git://pkgbuild.com/aur-mirror.git
but as far as I can tell it has only given me single the most recent version of each PKGBUILD.
I need to find an older PKGBUILD, does anybody know how? Are old versions in a particular subfolder?


coder formally known as EnvoyRising

Offline

#46 2012-10-21 21:41:29

jorge.costa
Member
From: UK
Registered: 2010-02-18
Posts: 25
Website

Re: [Announcement] First public git repo of the complete AUR

I'm aware of the Arch Rollback Machine and the ARM search (great tool), but I'm actually more keen in something git based like this tool here for the official packages.
Is there anything like that ?

combining this with puppet and customized pacman.conf files allows for very interesting dev->test->QA->Prod controlled update cycles

Offline

#47 2012-10-21 21:46:16

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

Re: [Announcement] First public git repo of the complete AUR

Not sure if I get it, but Arch doesn't support building from source so things might break if you're using ABS https://bugs.archlinux.org/task/24537
PKGBUILDs, patches etc. are hosted in git https://projects.archlinux.org/svntogit … ckages/0ad

Offline

#48 2012-10-27 10:25:44

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: [Announcement] First public git repo of the complete AUR

markhadman wrote:

I cloned the repo to my local drive using
git clone git://pkgbuild.com/aur-mirror.git
but as far as I can tell it has only given me single the most recent version of each PKGBUILD.
I need to find an older PKGBUILD, does anybody know how? Are old versions in a particular subfolder?

1) Navigate to http://pkgbuild.com/git/aur-mirror.git/log/PACKAGENAME
2) Click on the particular date/revision of interest.
3) Download the AUR snapshot that corresponds to that revision from the page that shows you the diffs.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#49 2012-10-29 10:41:28

Freso
Member
From: Denmark
Registered: 2011-09-09
Posts: 42
Website

Re: [Announcement] First public git repo of the complete AUR

This seems to have stopped updating around the time aur.archlinux.org went down and hasn't updated since. Please (re)start the sync'ing? smile


Machines: Kotake. Tael, Farore
PKGBUILDs: in AUR, at BitBucket

Offline

#50 2012-11-05 14:15:28

oz
Member
Registered: 2004-05-20
Posts: 102

Re: [Announcement] First public git repo of the complete AUR

This still appears to be down.  No updates since 2012-10-26.

No news?

Offline

Board footer

Powered by FluxBB