1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Zac Medico wrote: |
5 |
| Zac Medico wrote: |
6 |
|> 4) Run vdb-depset-test.py to try it on your whole vdb (ParseErrors can |
7 |
|> be expected due to invalid syntax). |
8 |
| |
9 |
| I've made the vdb-depset-test.py slightly more robust by adding a |
10 |
| fix_whitespace() function that fixes whitespace around operator tokens |
11 |
| in order to get around DepSet ParseErrors. That function can be added |
12 |
| to savior somewhere in order to provide backward compatibility with old |
13 |
| vdb depstrings. There's already a repoman patch (needs a little work) |
14 |
| attached to bug 114948 that addresses this issue on the commit side. |
15 |
| |
16 |
|
17 |
I've updated the script so that it works much like emaint now (complete with --fix option). The DepSet whitespace validation has been included in portage-2.1 repoman (bug 114948), but the attached script will be useful while whitespace issues continue to exist in some ebuilds and vdbs. |
18 |
|
19 |
Zac |
20 |
-----BEGIN PGP SIGNATURE----- |
21 |
Version: GnuPG v1.4.2 (GNU/Linux) |
22 |
|
23 |
iD8DBQFDwFX8/ejvha5XGaMRAk/dAKCsjt+sGVuyP1oSNziTbEe/JdVpywCgjEBS |
24 |
P7sI3r3fsjq6x2Sbf0XyTBk= |
25 |
=Sios |
26 |
-----END PGP SIGNATURE----- |
27 |
-- |
28 |
gentoo-portage-dev@g.o mailing list |