-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
= Summary =
This branch fixes two trivial UI bugs:
https://bugs.edge.launchpad.net/soyuz/+bug/391810 https://bugs.edge.launchpad.net/soyuz/+bug/399090
Both related with the logic used to present or ommit the PPA 'Build dependencies' section.
Now, we won't present empty sections if the user cannot change it and also allow owners to set dependencies before uploading sources.
== Tests ==
./bin/test -vv -t xx-edit-dependencies.txt
== Demo and Q/A ==
1. As no-priv, access https://launchpad.dev/~cprov/+archive/ppa and you won't see the 'Build dependencies' section.
2. As no-priv, access https://launchpad.dev/~no-priv/+archive/ppa and you will be able to set new dependencies even if the PPA is empty
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates. Running jslint, xmllint, pyflakes, and pylint. Using normal rules.
Linting changed files: lib/lp/soyuz/stories/ppa/xx-edit-dependencies.txt lib/lp/soyuz/templates/archive-index.pt lib/lp/soyuz/browser/archive.py -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkqJoLMACgkQ7KBXuXyZSjBJegCgnJwJ8V7HRg/qYt5G78XWkT2B I5QAn0rLjxiyKON5oHE78eM+gPpKwSPc =rBaW -----END PGP SIGNATURE-----
« Back to merge proposal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
= Summary =
This branch fixes two trivial UI bugs:
https:/ /bugs.edge. launchpad. net/soyuz/ +bug/391810 /bugs.edge. launchpad. net/soyuz/ +bug/399090
https:/
Both related with the logic used to present or ommit the PPA 'Build dependencies' section.
Now, we won't present empty sections if the user cannot change it and also allow owners to set dependencies before uploading sources.
== Tests ==
./bin/test -vv -t xx-edit- dependencies. txt
== Demo and Q/A ==
1. As no-priv, access https:/ /launchpad. dev/~cprov/ +archive/ ppa and you won't see the 'Build dependencies' section.
2. As no-priv, access https:/ /launchpad. dev/~no- priv/+archive/ ppa and you will be able to set new dependencies even if the PPA is empty
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: soyuz/stories/ ppa/xx- edit-dependenci es.txt soyuz/templates /archive- index.pt soyuz/browser/ archive. py
lib/lp/
lib/lp/
lib/lp/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkq JoLMACgkQ7KBXuX yZSjBJegCgnJwJ8 V7HRg/qYt5G78XW kT2B 5oHE78eM+ gPpKwSPc
I5QAn0rLjxiyKON
=rBaW
-----END PGP SIGNATURE-----