Merge lp:~sergiusens/snapcraft/wiki into lp:~snappy-dev/snapcraft/core
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Sergio Schvezov on 2015-09-16 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 167 | ||||
| Proposed branch: | lp:~sergiusens/snapcraft/wiki | ||||
| Merge into: | lp:~snappy-dev/snapcraft/core | ||||
| Diff against target: |
271 lines (+182/-1) 8 files modified
examples/downloader-with-wiki-parts/Makefile (+11/-0) examples/downloader-with-wiki-parts/snapcraft.yaml (+15/-0) examples/downloader-with-wiki-parts/test.c (+17/-0) runtests.sh (+1/-1) snapcraft/tests/test_wiki.py (+50/-0) snapcraft/tests/test_yaml.py (+31/-0) snapcraft/wiki.py (+50/-0) snapcraft/yaml.py (+7/-0) |
||||
| To merge this branch: | bzr merge lp:~sergiusens/snapcraft/wiki | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Sergio Schvezov | Approve on 2015-09-16 | ||
| John Lenton | Approve on 2015-09-15 | ||
| Daniel Holbach (community) | Approve on 2015-09-15 | ||
|
Review via email:
|
|||
Commit Message
Try to use wiki when after in part is not local
| Sergio Schvezov (sergiusens) wrote : | # |
> A few small things:
> - examples/
ah, always forget to bzr add :-) (I also added test_wiki.py)
> - "curl based downloaded" → "curl based downloader"?
>
> I wasn't part of the design decisions regarding the wiki plugin, but I'm not
> quite sure how we could safe-guard against tampering of wiki pages. Do we want
> to look up who made the last edit of the page or something like that or
> introduce some kind of other security measure?
The idea was to lock down the wiki endpoint to specific people only.
| Sergio Schvezov (sergiusens) wrote : | # |
Taking advantage of community reviewers due to the high load.
| Snappy Tarmac (snappydevtarmac) wrote : | # |
The attempt to merge lp:~sergiusens/snapcraft/wiki into lp:snapcraft failed. Below is the output from the failed tests.
[1;31mThe project has gotten complex[0m.
Here's the list of units exceeding 10:
- snapcraft/cmds.py:
246:1: 'cmd' 12
cp --preserve=all -R zzz /tmp/tmpsetsbpu
cp --preserve=all -R src /tmp/tmpq0hhcva
cp --preserve=all -R src /tmp/tmpuu5cjsb
.......
.......
=======
ERROR: snapcraft.
-------
Traceback (most recent call last):
File "/usr/lib/
yield
File "/usr/lib/
testMethod()
File "/usr/lib/
raise exception
ImportError: Failed to import test module: snapcraft.
Traceback (most recent call last):
File "/usr/lib/
module = self._get_
File "/usr/lib/
__import_
File "/tmp/tarmac/
from snapcraft import (
File "/tmp/tarmac/
import snapcraft.yaml
File "/tmp/tarmac/
import snapcraft.wiki
File "/tmp/tarmac/
import requests
ImportError: No module named 'requests'
=======
ERROR: snapcraft.
-------
Traceback (most recent call last):
File "/usr/lib/
yield
File "/usr/lib/
testMethod()
File "/usr/lib/
raise exception
ImportError: Failed to import test module: snapcraft.
Traceback (most recent call last):
File "/usr/lib/
module = self._get_
File "/usr/lib/
__import_
File "/tmp/tarmac/
import snapcraft.wiki
File "/tmp/tarmac/
import requests
ImportError: No module named 'requests'
=======
ERROR: snapcraft.
-------
Traceback (most recent call last):
File "/usr/li...
| Sergio Schvezov (sergiusens) wrote : | # |
after review (and tarmac now has python3-requests)
- 167. By Sergio Schvezov on 2015-09-16
-
Try to use wiki when after in part is not local by sergiusens approved by sergiusens,
chipaca, dholbach


A few small things: downloader- with-wiki- parts/icon. png is missing
- examples/
- "curl based downloaded" → "curl based downloader"?
I wasn't part of the design decisions regarding the wiki plugin, but I'm not quite sure how we could safe-guard against tampering of wiki pages. Do we want to look up who made the last edit of the page or something like that or introduce some kind of other security measure?