Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc. fixes #9

Open
9 of 11 tasks
zultron opened this issue Apr 5, 2015 · 0 comments
Open
9 of 11 tasks

Misc. fixes #9

zultron opened this issue Apr 5, 2015 · 0 comments

Comments

@zultron
Copy link
Owner

zultron commented Apr 5, 2015

Several fixes not important enough to get their own issue right now:

zultron added a commit that referenced this issue Apr 6, 2015
Take `sbuild-update --keygen` command out of Dockerfile and put into
chroot.

Try to persist keys, since they oughtn't to change (and take a long
time to create).  If found in chroot, copy locally, and vice-versa.

See #9
zultron added a commit that referenced this issue Apr 9, 2015
Add a suffix to package version; by default, e.g.
`~1jessie~1mk.dbuild`. This allows distribution packagers to give
unique versions to their packages, as well as combine packages for
different upstream distros into one `pool` directory (fixes #6).

- Build new changelog entry for source packages
  - Read upstream version from `changelog` file (fixes #8)
    - Remove `$RELEASE` from pkg configs
  - Add default suffix `~1mk.dbuild` to packages
- Unpack debianization first in order to get data from changelog early
- Set default pkg format to reduce verbosity

- Merge files formerly separated along upstream distro lines
  - `build/PACKAGE` dir; `repo/pool` dir

Also:
- Misc bug fixes
- Install `sbuild.conf` from template (will address issues in #9)
zultron added a commit that referenced this issue Apr 10, 2015
Addresses #9, "Add local config override file". As stated there, this
needs to have distro/package configs in bash associative arrays to
work for overriding package and distro configuration; e.g.

    DISTRO_MIRROR[jessie]=http://http.us.debian.org/debian
zultron added a commit that referenced this issue Apr 10, 2015
Addresses #9 'Can bindmounts be done better?'
zultron added a commit that referenced this issue Apr 10, 2015
Addresses #9, 'Add ccache'
zultron added a commit that referenced this issue Apr 11, 2015
Related to #9,  "Add local config override file"

Distro configs sorted out into associative arrays, and
`distro_configure_repos` function sorted into separate 'repo' configs.

Now distros and repos params can be overridden in a local config file.
A poor example is included.

This also paves the way to a solution for #3.

Package overrides not done.

Also, architecture handling mess refactored into separate file
zultron added a commit that referenced this issue Apr 12, 2015
Package configs now parameterized using associative arrays and so can
be overridden in `local-config.sh`.

- Move package distro checks to distro.sh
- Guess package compression from tarball
- Move proxy functions out of `init-cli.sh`

Completes #9, 'Add local config override file'
zultron added a commit that referenced this issue Apr 13, 2015
Addresses #9, 'Pass git name/email into Docker for setting Maintainer:
in packages'
zultron added a commit that referenced this issue Apr 13, 2015
Seems aufs isn't on 3.8 kernels, so this is untested and turned off by
default.

Addresses #9 'Do package configure and other steps with aufs (on tmpfs)'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant