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

Packaging and template cleanups #109

Merged
merged 5 commits into from Feb 7, 2019
Merged

Commits on Feb 7, 2019

  1. Configuration menu
    Copy the full SHA
    b57ea12 View commit details
    Browse the repository at this point in the history
  2. Build object files under _build/

    By default the build directory is arch-qualified, which means that we
    cannot easily ignore them in places like .gitignore. Use a well-known
    pathname for this.
    guillemj committed Feb 7, 2019
    Configuration menu
    Copy the full SHA
    c60280d View commit details
    Browse the repository at this point in the history
  3. Wrap, sort, indent by one, and add trailing commas to multi-line fields

    Format fields in a way that minimizes diff output and that makes it
    easier to copy & paste or move lines around between fields:
    
     - Adding a trailing comma on the last entry makes appending new
       entries not affect the last one.
     - Starting the field value on the next line makes inserting or changing
       the first value generate less diff.
     - Indenting by one space, makes the contents movable between fields,
       and gives a unified format to all such fields.
     - Sorting makes the contents easier to find and easier to avoid
       adding duplicates.
    
    We cannot currently do this for the Go-Import-Path field, because
    dh-golang does not cope with this file being multi-line with an empty
    first line, yet.
    guillemj committed Feb 7, 2019
    Configuration menu
    Copy the full SHA
    0cbf605 View commit details
    Browse the repository at this point in the history
  4. Set Rules-Requires-Root to no

    This makes it possible to build packages w/o requiring (pseudo-)root
    privileges.
    guillemj committed Feb 7, 2019
    Configuration menu
    Copy the full SHA
    b911978 View commit details
    Browse the repository at this point in the history
  5. Move parts of Build-Depends into Build-Depends-Arch or Build-Depends-…

    …Indep
    
    Not all build dependencies are required all the time. Move those into
    the fields that are appropriate for their type.
    guillemj committed Feb 7, 2019
    Configuration menu
    Copy the full SHA
    5bfe8a6 View commit details
    Browse the repository at this point in the history