1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Now that the whole tree has been converted to Manifest2 format we can remove the |
5 |
old digest files from the tree so that it is pure Manifest2 format [1]. Any |
6 |
users who still have a version of portage that doesn't support Manifest2 (less |
7 |
than sys-apps/portage-2.1 or stages prior to 2006.1) will still be able to use a |
8 |
script to generate the old digests if they want to upgrade an old system [2]. |
9 |
|
10 |
In order to trigger removal of the old digests, all that we have to do is add a |
11 |
file named manifest1_obsolete to the root of the repository. Presence of that |
12 |
file causes repoman to automatically remove the old digests upon commit. If |
13 |
people don't update their whole cvs tree then they are likely to miss this file |
14 |
which will cause them to generate the old digest files and add them back to the |
15 |
tree unnecessarily. If that happens then it's not a major problem but we should |
16 |
try to make sure that everybody gets the file in order to prevent confusion. |
17 |
|
18 |
After we've added the manifest1_obsolete file we can either let the old digest |
19 |
files disappear gradually or we can actively remove them. It's possible to use |
20 |
repoman to remove them from a single package, from a whole category, or from the |
21 |
whole tree at once. The repoman --force option can be used to make it work |
22 |
faster by skipping dependency checks. If we want to actively remove them then |
23 |
the best approach is probably to use repoman to remove them from one category at |
24 |
a time. |
25 |
|
26 |
If there are no objections then I don't so any reason not to go ahead and add |
27 |
the manifest1_obsolete sometime in the near future. Thoughts? |
28 |
|
29 |
Zac |
30 |
|
31 |
[1] |
32 |
http://www.gentoo.org/proj/en/glep/glep-0044.html#removal-of-digest-files |
33 |
[2] http://www.gentoo.org/proj/en/portage/doc/converting-manifest2.xml |
34 |
|
35 |
-----BEGIN PGP SIGNATURE----- |
36 |
Version: GnuPG v2.0.7 (GNU/Linux) |
37 |
|
38 |
iD8DBQFHm9mY/ejvha5XGaMRAgFYAKCKKTZjYbLl1E/Djj/5VQp2jMzT9QCeK6N/ |
39 |
Ze0SmeWEhOsF4J3avthW/TQ= |
40 |
=/HZV |
41 |
-----END PGP SIGNATURE----- |
42 |
-- |
43 |
gentoo-dev@l.g.o mailing list |