Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Make package installation dynamic to reduce deps #282
Conversation
kyrofa
reviewed
Feb 1, 2016
| + 'i686': 'i386-linux-gnu', | ||
| + 'ppc64le': 'powerpc64le-linux-gnu', | ||
| + 'x86_64': 'x86_64-linux-gnu', | ||
| +} |
kyrofa
Feb 1, 2016
Member
This information is very closely related to the _DEB_ARCH above. Would the codebase be less prone to an update in one spot and forgetting to update the other if you stored this information within the same container? For example, a nested dict of the structure:
{
'armv7l': {
'arch': 'armhf',
'triplet': 'arm-linux-gnueabihf',
}
# ...
}You get the idea. Less duplication, still clear?
|
Small comment about combining the data structures for the arch-specific stuff, but looks good to me |
added a commit
that referenced
this pull request
Feb 1, 2016
sergiusens
merged commit 2b8f6e2
into
snapcore:master
Feb 1, 2016
sergiusens
deleted the
sergiusens:bugfix/1539146/smaller_dependencies
branch
Feb 1, 2016
pushed a commit
to kalikiana/snapcraft
that referenced
this pull request
Apr 6, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sergiusens commentedJan 29, 2016
debian/control has a huge amount of dependencies that could very well
be installed depending on the project. There are also dependencies
included that are not relevant anymore.
The work here:
in snapcraft.yaml
LP: #1539146