When the email address of a maintainer contains unescaped
regex-special characters (such as '+'), the maintainer-email match may
return undesirable results.
Add a command line option '--no-regex' to use re.escape() with list
comprehension on maintainer emails when constructing the matcher
regex. T
When the email address of a maintainer contains regex-special
characters (such as '+'), re.match() returns incorrect results. Use
re.escape() with list comprehension on maintainer emails when
constructing the matcher regex.
---
bin/portageq | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
Repoman pulls in lxml unconditionally now and performs metadata checks
by default. This behavior makes these command line options obsolete
since forcing the default makes little sense. Declare them obsolete
instead of removing them for backwards compatibility.
---
repoman/man/repoman.1
Repoman pulls in lxml unconditionally now and performs metadata checks
by default. This behavior makes these command line options obsolete
since forcing the default makes little sense. Declare them obsolete
instead of removing them for backwards compatibility.
Signed-off-by: Göktürk Yüksek
Signed-off-by: Göktürk Yüksek
---
xml-test/uniqueness/metadata.xml | 33 +++
xml-test/uniqueness/uniqueness-0.1.ebuild | 12 +++
2 files changed, 45 insertions(+)
create mode 100644 xml-test/uniqueness/metadata.xml
create mode 100644 xml-test
Signed-off-by: Göktürk Yüksek
---
xml-test/singularity/metadata.xml | 43 +
xml-test/singularity/singularity-0.1.ebuild | 11
2 files changed, 54 insertions(+)
create mode 100644 xml-test/singularity/metadata.xml
create mode 100644 xml-test
Increase coverage and prevent future regressions by adding a second
description for a downstream maintainer element. See also:
https://gitweb.gentoo.org/data/xml-schema.git/commit/?id=6070512ca
Signed-off-by: Göktürk Yüksek
---
xml-test/valid/metadata.xml | 1 +
1 file changed, 1 insertion
Signed-off-by: Göktürk Yüksek
---
.../invalid-attributes-0.1.ebuild | 11 +++
xml-test/invalid-attributes/metadata.xml | 38 ++
2 files changed, 49 insertions(+)
create mode 100644 xml-test/invalid-attributes/invalid-attributes-0.1.ebuild
Signed-off-by: Göktürk Yüksek
---
xml-test/missing-elements/metadata.xml| 17 +
xml-test/missing-elements/missing-elements-0.1.ebuild | 11 +++
2 files changed, 28 insertions(+)
create mode 100644 xml-test/missing-elements/metadata.xml
create mode 100644
According to the PMS section 11.1, HOME is a read-only
variable. Include it in the list of read-only variables for the
variable.readonly check in repoman.
Signed-off-by: Göktürk Yüksek
---
pym/repoman/modules/scan/ebuild/checks.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff
Signed-off-by: Göktürk Yüksek
---
xml-test/valid/metadata.xml | 64 +
xml-test/valid/valid-0.1.ebuild | 12
2 files changed, 76 insertions(+)
create mode 100644 xml-test/valid/metadata.xml
create mode 100644 xml-test/valid/valid-0.1.ebuild
Brian Dolbec:
> On Sun, 1 May 2016 18:38:50 -0700
> Brian Dolbec wrote:
>
>> On Sun, 1 May 2016 21:08:47 -0400
>> Göktürk Yüksek wrote:
>>
>>> Check for:
>>> - type attribute in
>>> - name attribute in
>>> - name attribute in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512
Göktürk Yüksek:
> Check for: - type attribute in - name attribute in
> - name attribute in - type attribute for
>
>
> Signed-off-by: Göktürk Yüksek ---
> xml-test/missing-attributes/metadata.
Signed-off-by: Göktürk Yüksek
---
xml-test/missing/missing-0.1.ebuild | 13 +
1 file changed, 13 insertions(+)
create mode 100644 xml-test/missing/missing-0.1.ebuild
diff --git a/xml-test/missing/missing-0.1.ebuild
b/xml-test/missing/missing-0.1.ebuild
new file mode 100644
index
Check for:
- type attribute in
- name attribute in
- name attribute in
- type attribute for
Signed-off-by: Göktürk Yüksek
---
xml-test/missing-attributes/metadata.xml | 23 ++
.../missing-attributes-0.1.ebuild | 13
2 files changed
Per GLEP 67, orphaned packages do not have a in metadata.xml.
They can't be matched using '--maintainer-email=maintainer-nee...@gentoo.org'
anymore. Add a new command line argument '--orphaned' to match the orphaned
packages.
Signed-off-by: Göktürk Yüksek
---
bin/porta
Per GLEP 67, orphaned packages do not have a in metadata.xml.
They can't be matched using '--maintainer-email=maintainer-nee...@gentoo.org'
anymore. Add a new command line argument '--orphaned' to match the orphaned
packages.
Signed-off-by: Göktürk Yüksek
---
bin/porta
17 matches
Mail list logo