You are not logged in.

#1 2008-04-17 06:31:13

B-Con
Member
From: USA
Registered: 2007-12-17
Posts: 554
Website

abs cleans out /var/abs

Question: Does abs now clean out all non-recognized directories in /var/abs intentionally? I used to keep everything from the AUR in /var/abs/aur, including some of my own stuff I *was* working on, but after running the newly upgraded abs I find everything in /var/abs gone except for, core,  extra,  local,  README,  testing, and  unstable -- my AUR directory is gone, which is at least moderately upsetting... :S

[edit]
/etc/abs = /var/abs in first sentence.

Last edited by B-Con (2008-08-17 20:00:02)

Offline

#2 2008-04-17 06:36:26

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: abs cleans out /var/abs

As you have noticed, apart from the core/extra/community/etc directories that abs downloads, it only keeps the local directory.

http://archlinux.org/pipermail/arch-dev … 05745.html

Offline

#3 2008-04-17 07:06:04

B-Con
Member
From: USA
Registered: 2007-12-17
Posts: 554
Website

Re: abs cleans out /var/abs

I see.

Well, I have no problem with that, but a warning would've been nice, though, because previous versions hadn't touched my /var/abs/aur .

Offline

#4 2008-04-18 02:07:18

mintcoffee
Member
From: Waterloo, ON
Registered: 2007-10-05
Posts: 120
Website

Re: abs cleans out /var/abs

A warning would definitely be nice, even in the post install. Thanks for bringing this issue up, otherwise I would have lost some custom packages too.


Arch on a Thinkpad T400s

Offline

#5 2008-04-18 03:06:33

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: abs cleans out /var/abs

This is how abs works, and why you must create a separate build directory- either in /var/abs/local or elsewhere. You should never modify, or build in, the tree itself, as the ABS wiki entry advises. smile

Offline

#6 2008-04-18 03:12:02

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: abs cleans out /var/abs

@Misfit138: I think you missed the point. If you named you separate build directory /var/abs/build, then it was deleted...

Offline

#7 2008-04-18 03:17:44

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: abs cleans out /var/abs

Allan wrote:

@Misfit138: I think you missed the point. If you named you separate build directory /var/abs/build, then it was deleted...

You're absolutely right, I missed that, sorry. *Sigh* I need to get more sleep.
lol

Offline

#8 2008-04-18 11:59:39

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: abs cleans out /var/abs

ABS has always owned /var/abs/* - that's why /var/abs/local was provided for your _locally_created_ PKGBUILDs.

That said, the move to rsync has created different behaviour in that regard, and I suppose a warning couldn't hurt.

Offline

#9 2008-04-18 17:08:47

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: abs cleans out /var/abs

that is why i have /home/abs big_smile


I need real, proper pen and paper for this.

Offline

#10 2008-04-18 19:35:28

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: abs cleans out /var/abs

I'd second that - building packages under $HOME makes a lot more sense to me.

Offline

#11 2008-04-18 22:34:59

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: abs cleans out /var/abs

Here are my toughts:

/var/abs/local -- a place to share/store custom/local/aur PKGBUILD's.
$HOME/build (or similar) -- where you should do the actual building of pkg's


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#12 2008-04-19 20:50:49

B-Con
Member
From: USA
Registered: 2007-12-17
Posts: 554
Website

Re: abs cleans out /var/abs

ABS just upgraded again today, I see a warning that /var/abs gets cleaned out. Thanks devs. smile

Offline

#13 2008-08-17 16:29:19

yowwww
Member
Registered: 2003-09-04
Posts: 112

Re: abs cleans out /var/abs

Awesome. Ran abs yesterday and received no warning whatsoever and lost about 100 PKGBUILDS that I had been using for the past several years. Not cool at all. I suppose there is no way to retrieve them either. It was a created directory under /var/abs.

Offline

#14 2008-08-17 19:59:15

B-Con
Member
From: USA
Registered: 2007-12-17
Posts: 554
Website

Re: abs cleans out /var/abs

Ouch.

How long had it been since you'd last abs'd? It's been like that for about four months.

Last edited by B-Con (2008-08-17 20:01:13)

Offline

#15 2008-08-17 23:19:04

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: abs cleans out /var/abs

Isn't this the standard functionality of rsync?


neutral

Offline

#16 2008-08-17 23:29:38

B-Con
Member
From: USA
Registered: 2007-12-17
Posts: 554
Website

Re: abs cleans out /var/abs

sand_man wrote:

Isn't this the standard functionality of rsync?

AFIAK, it is. ABS didn't use rsync always, though, so the change caused some unexpected behavior changes. (Perhaps only one, this one.)

Offline

#17 2008-08-18 13:45:53

yowwww
Member
Registered: 2003-09-04
Posts: 112

Re: abs cleans out /var/abs

B-Con wrote:

Ouch.

How long had it been since you'd last abs'd? It's been like that for about four months.

It had been a while obviously. I build my own packages so I very rarely ever would run abs because it was extremely uncommon for me to ever have to rebuild a package from core or extra.

Offline

Board footer

Powered by FluxBB