Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
sources: support symlinks in deb sources #941
Conversation
codecov-io
commented
Dec 2, 2016
•
Current coverage is 96.33% (diff: 100%)@@ master #941 diff @@
==========================================
Files 190 190
Lines 16794 16794
Methods 0 0
Messages 0 0
Branches 1275 1275
==========================================
Hits 16179 16179
Misses 422 422
Partials 193 193
|
sergiusens
requested changes
Dec 2, 2016
Nice find, just a little more work and it will get there
| @@ -14,8 +14,8 @@ env: | ||
| - secure: "gqtqTji8cie0Q2O+sRhE4MbTXGI0qTq8yPgRGFd9XlT/lB/EttFQKu72qycr/jyrvt809wjWM13QVqa5/71SoJd+Xzrmr1/leevx9Z/Wnv+IYkRAuGHW7iIDQb7MhQvpq3tw8hbGJzGxw03cUmjKJ89AAlGbwaURMat47lPsRXus8R7pl9S6r5owhBbmrQNaP9io0oPQDOAUf4pmJma1FTHAjXg0EdUwdXFUWToj15c7UJtB/MQNNTfjlwGA+/sPDqgthUEAzXmvUfXAZWnjQFZmq4ebvBIJEOQEPdLCXWGYdN2DAL7zp7WthrwFfgFFZb579rOBh0ETIMebUgBLoVSiPcn/bfzdYHcYKGf7lTJpoug5QENl+kZcuVyK7GUjf8O9tamhkYeMtUOy5Ubrcnv+Lfy9NsDPhKY05n+7tzzUVB1dePTrMHPuRZLl4OKku1AUN/S3A2xMrLO8vsWPVxcfxeb+4Y5ikYiHHpOozJHHDdPmj5raRIf3IH87W2PX0nJhg+gEgNHV1v3HBoyeqOPl4hl6/Fb9sCS/JAbbfcixkC54MHHI+opNSgZRvY0RORGHmuhHRGvfMxnwHmeOD51oV+SRGJS6A7qUq6GlBIy3/YlAY3LqqkWrHwm4EYttd4yM1FZ5s9pVnoSSJkgQ5vYK7A8a9AgZJlCcZnbzXtA=" | ||
| matrix: | ||
| - TEST_SUITE=static DEPENDENCIES="apt install -y python3-pip && python3 -m pip install -r requirements-devel.txt" | ||
| - - TEST_SUITE=unit DEPENDENCIES="apt install -y libnacl-dev libsodium-dev libffi-dev libapt-pkg-dev libarchive-dev python3-pip squashfs-tools xdelta3 && python3 -m pip install -r requirements-devel.txt -r requirements.txt && python3 -m pip uninstall -y coverage && apt install -y python3-coverage" | ||
| - - TEST_SUITE=integration TEST_STORE=fake DEPENDENCIES="apt install -y bzr curl git libnacl-dev libsodium-dev libffi-dev libapt-pkg-dev libarchive-dev mercurial python3-pip subversion squashfs-tools sudo snapd xdelta3 && python3 -m pip install -r requirements-devel.txt -r requirements.txt" | ||
| + - TEST_SUITE=unit DEPENDENCIES="apt install -y libnacl-dev libsodium-dev libffi-dev libapt-pkg-dev libarchive-dev python3-pip python3-debian squashfs-tools xdelta3 && python3 -m pip install -r requirements-devel.txt -r requirements.txt && python3 -m pip uninstall -y coverage && apt install -y python3-coverage" |
sergiusens
Dec 2, 2016
Collaborator
is this really needed? Can't it be solved by adding it to requirements.txt?
Also missing an entry in HACKING.md
|
python-debian is not installing from pip. This needs a little more investigation. |
kyrofa
closed this
Dec 7, 2016
|
@kyrofa After looking at https://travis-ci.org/snapcore/snapcraft/jobs/180859624 I noticed chardet is failing to import. If In contrast |
kyrofa
added some commits
Dec 16, 2016
kyrofa
reopened this
Dec 16, 2016
Indeed, it turns out it's a known bug. Barry's on it. I've added chardet to |
kyrofa commentedDec 2, 2016
This PR fixes LP: #1634813 by using python3-debian to extract debs instead of python3-apt, whose
extractallmethod creates directories when it encounters symlinks.Note that this does add another dependency-- did I put it everywhere?