Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-25 Thread Michael Hampicke
Am 24.12.2012 17:09, schrieb Rick Zero_Chaos Farina: On 12/24/2012 09:00 AM, Diego Elio Pettenò wrote: On 24/12/2012 14:32, Ulrich Mueller wrote: This doesn't look right to me. /var/spool contains things like printer queues or outgoing mail that are typically deleted after processing. Not

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-25 Thread Ulrich Mueller
On Mon, 24 Dec 2012, Diego Elio Pettenò wrote: On 24/12/2012 16:43, Ulrich Mueller wrote: Why not? Because they are distributed to other systems? More because they can be used as a backup themselves, if I want to keep older versions available. This is a valid argument, of course.

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-25 Thread Peter Stuge
Michael Hampicke wrote: can binpackages easily be regenerated locally if their ebuilds are not in portage anymore? If the package is still installed it is very easy with quickpkg. //Peter

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-24 Thread Ulrich Mueller
On Mon, 24 Dec 2012, Sebastian Pipping wrote: On 20.12.2012 19:14, Ciaran McCreesh wrote: The tree is a database. It belongs in /var/db/. I don't see /var/db in the latest release of the Filesystem Hierarchy Standard: http://www.pathname.com/fhs/pub/fhs-2.3.html#THEVARHIERARCHY Wrong

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-24 Thread Ciaran McCreesh
On Mon, 24 Dec 2012 03:17:06 +0100 Sebastian Pipping sp...@gentoo.org wrote: On 20.12.2012 19:14, Ciaran McCreesh wrote: The tree is a database. It belongs in /var/db/. I don't see /var/db in the latest release of the Filesystem Hierarchy Standard:

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-24 Thread Diego Elio Pettenò
On 24/12/2012 10:08, Ulrich Mueller wrote: /var/cache/packages/ PKGDIR Maybe /var/spool/binpkgs ? -- Diego Elio Pettenò — Flameeyes flamee...@flameeyes.eu — http://blog.flameeyes.eu/

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-24 Thread Michael Mol
On Mon, Dec 24, 2012 at 4:08 AM, Ulrich Mueller u...@gentoo.org wrote: On Mon, 24 Dec 2012, Sebastian Pipping wrote: On 20.12.2012 19:14, Ciaran McCreesh wrote: The tree is a database. It belongs in /var/db/. I don't see /var/db in the latest release of the Filesystem Hierarchy Standard:

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-24 Thread Michał Górny
On Mon, 24 Dec 2012 10:08:13 +0100 Ulrich Mueller u...@gentoo.org wrote: On Mon, 24 Dec 2012, Sebastian Pipping wrote: On 20.12.2012 19:14, Ciaran McCreesh wrote: The tree is a database. It belongs in /var/db/. I don't see /var/db in the latest release of the Filesystem Hierarchy

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-24 Thread Ulrich Mueller
On Mon, 24 Dec 2012, Diego Elio Pettenò wrote: /var/cache/packages/ PKGDIR Maybe /var/spool/binpkgs ? This doesn't look right to me. /var/spool contains things like printer queues or outgoing mail that are typically deleted after processing. Ulrich

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-24 Thread Diego Elio Pettenò
On 24/12/2012 14:32, Ulrich Mueller wrote: This doesn't look right to me. /var/spool contains things like printer queues or outgoing mail that are typically deleted after processing. Not sure how /var/cache fits for binpkgs though, tbh. -- Diego Elio Pettenò — Flameeyes flamee...@flameeyes.eu

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-24 Thread Michael Mol
On Mon, Dec 24, 2012 at 8:32 AM, Ulrich Mueller u...@gentoo.org wrote: On Mon, 24 Dec 2012, Diego Elio Pettenň wrote: /var/cache/packages/ PKGDIR Maybe /var/spool/binpkgs ? This doesn't look right to me. /var/spool contains things like printer queues or outgoing mail that are typically

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-24 Thread viv...@gmail.com
Il 24/12/2012 10:11, Ciaran McCreesh ha scritto: On Mon, 24 Dec 2012 03:17:06 +0100 Sebastian Pipping sp...@gentoo.org wrote: On 20.12.2012 19:14, Ciaran McCreesh wrote: The tree is a database. It belongs in /var/db/. yes and no, yes it contain data and executable needed to update gentoo

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-24 Thread Ulrich Mueller
On Mon, 24 Dec 2012, Diego Elio Pettenò wrote: On 24/12/2012 14:32, Ulrich Mueller wrote: This doesn't look right to me. /var/spool contains things like printer queues or outgoing mail that are typically deleted after processing. Not sure how /var/cache fits for binpkgs though, tbh. Why

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-24 Thread Rick Zero_Chaos Farina
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/24/2012 04:08 AM, Ulrich Mueller wrote: On Mon, 24 Dec 2012, Sebastian Pipping wrote: On 20.12.2012 19:14, Ciaran McCreesh wrote: The tree is a database. It belongs in /var/db/. I don't see /var/db in the latest release of the Filesystem

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-24 Thread Rick Zero_Chaos Farina
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/24/2012 09:00 AM, Diego Elio Pettenò wrote: On 24/12/2012 14:32, Ulrich Mueller wrote: This doesn't look right to me. /var/spool contains things like printer queues or outgoing mail that are typically deleted after processing. Not sure how

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-24 Thread Diego Elio Pettenò
On 24/12/2012 16:43, Ulrich Mueller wrote: Why not? Because they are distributed to other systems? More because they can be used as a backup themselves, if I want to keep older versions available. /var/lib then? Fine by me. (Though FHS acolytes would probably put them in /srv ...) Let's

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-23 Thread Sebastian Pipping
On 20.12.2012 19:14, Ciaran McCreesh wrote: The tree is a database. It belongs in /var/db/. I don't see /var/db in the latest release of the Filesystem Hierarchy Standard: http://www.pathname.com/fhs/pub/fhs-2.3.html#THEVARHIERARCHY I would prefer something that blends with FHS. Best,

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-23 Thread Sebastian Pipping
On 20.12.2012 18:27, Ulrich Mueller wrote: Now I wonder: After removal of e.g. the Portage tree from a system, it is generally not possible to restore it. (It can be refetched, but not to its previous state.) Same is true for distfiles, at least to some degree. They may have vanished

[gentoo-dev] Is /var/cache the right place for repositories?

2012-12-20 Thread Ulrich Mueller
The FHS says: /var/cache is intended for cached data from applications. Such data is locally generated as a result of time-consuming I/O or calculation. The application must be able to regenerate or restore the data. Now I wonder: After removal of e.g. the Portage tree from a system,

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-20 Thread Ian Stakenvicius
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 20/12/12 12:27 PM, Ulrich Mueller wrote: The FHS says: /var/cache is intended for cached data from applications. Such data is locally generated as a result of time-consuming I/O or calculation. The application must be able to regenerate or

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-20 Thread Alexandre Rostovtsev
On Thu, 2012-12-20 at 18:27 +0100, Ulrich Mueller wrote: The FHS says: /var/cache is intended for cached data from applications. Such data is locally generated as a result of time-consuming I/O or calculation. The application must be able to regenerate or restore the data.

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-20 Thread Ulrich Mueller
On Thu, 20 Dec 2012, Ian Stakenvicius wrote: On 20/12/12 12:27 PM, Ulrich Mueller wrote: The FHS says: /var/cache is intended for cached data from applications. Such data is locally generated as a result of time-consuming I/O or calculation. The application must be able to regenerate or

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-20 Thread Ciaran McCreesh
On Thu, 20 Dec 2012 18:27:26 +0100 Ulrich Mueller u...@gentoo.org wrote: The FHS says: /var/cache is intended for cached data from applications. Such data is locally generated as a result of time-consuming I/O or calculation. The application must be able to regenerate or restore

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-20 Thread Rick Zero_Chaos Farina
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/20/2012 01:14 PM, Ciaran McCreesh wrote: On Thu, 20 Dec 2012 18:27:26 +0100 Ulrich Mueller u...@gentoo.org wrote: The FHS says: /var/cache is intended for cached data from applications. Such data is locally generated as a result of

Re: [gentoo-dev] Is /var/cache the right place for repositories?

2012-12-20 Thread Chí-Thanh Christopher Nguyễn
Ulrich Mueller schrieb: Now I wonder: After removal of e.g. the Portage tree from a system, it is generally not possible to restore it. (It can be refetched, but not to its previous state.) Is it required that the _exact_ _same_ _data_ will be regenerated? This is not the case with most users