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

RFC: FPM packaging #484

Open
wants to merge 93 commits into
base: main
Choose a base branch
from
Open

RFC: FPM packaging #484

wants to merge 93 commits into from

Commits on Mar 2, 2022

  1. Add requirements.txt

    zyrolasting committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    d3b956b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    71bf2ea View commit details
    Browse the repository at this point in the history
  3. Add scripts/distro.sh

    I see some distribution inference rules that seemed to pop up
    several times. The script seems to be useful in several places,
    but I have not deduplicated the code yet. That would involve
    changes that are out of scope.
    zyrolasting committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    5911c01 View commit details
    Browse the repository at this point in the history
  4. Help user with setup at entry point

    Deployment would be easier if `pa.sh` helped users with
    `PASH_TOP` and a default `~/.pash_init`.
    
    I saw scripts to modify the user's rcfiles (which is not ideal, imo).
    With process substitution, the process for setting `PASH_TOP` is
    a little nicer.
    
        $ cd "$(find ~ -type f pa.sh | xargs -n 1 dirname | head -n 1)"
        $ ./pa.sh
        # Add this to your shell configuration.
    
          export PASH_TOP='/home/sage/prj/pash'
          export PATH="$PASH_TOP:$PATH"
    
        # If your shell supports process substitution (bash, zsh, etc.)
        # run `. <(./pa.sh)` to use PaSh in this shell.
    
    The key benefit for deployment is that you can simply instruct a user to
    actually start using PaSh and follow its instructions, as opposed to adding
    installation steps.
    
    Since this is Bash, I use `return` to prevent accidental
    execution of further instructions when `pa.sh` is sourced.
    zyrolasting committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    b91351b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3a8d913 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    07b3676 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    cec3547 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    102b616 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    30c3e44 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    170bd2d View commit details
    Browse the repository at this point in the history
  11. Improve config preview

    zyrolasting committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    47a4a94 View commit details
    Browse the repository at this point in the history
  12. Rephrase Docker volumes

    zyrolasting committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    24abb5d View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    39ab2f8 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    91851e4 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    7ff2ae0 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    73f04a2 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    58be73e View commit details
    Browse the repository at this point in the history
  18. Remove unhelpful compilation code

    Some code only calls `make` with no target specified. No `autogen.sh`,
    `configure`, etc.
    
    Maybe that's fine for the runtime, but it's not enough for the `libdash`
    derivative. I wonder if there's a different script that I haven't seen
    yet that does this better.
    zyrolasting committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    0892ad8 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2022

  1. Compile libdash

    zyrolasting committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    3191b89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    70de48c View commit details
    Browse the repository at this point in the history
  3. Remove extra echo

    zyrolasting committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    848c5b0 View commit details
    Browse the repository at this point in the history
  4. Add Python install step

    zyrolasting committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    87d1835 View commit details
    Browse the repository at this point in the history
  5. Fix typo in .gitignore

    zyrolasting committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    16e27f0 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. Add pacman support

    zyrolasting committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    c79c778 View commit details
    Browse the repository at this point in the history
  2. Expand exclude rules

    zyrolasting committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    05ba208 View commit details
    Browse the repository at this point in the history
  3. Compute package file names differently

    Distribution-specifics were split between two spots in
    scripts/package/tools/build. Reason being the file name was
    computed separately from the flags.
    
    - Add functions for distribution specifics.
    - Default to 'now' as a version (helpful for quick iteration)
    zyrolasting committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    c7930d1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    41b4633 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9137a17 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f322c41 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e19bc2b View commit details
    Browse the repository at this point in the history
  8. Announce .fpm deletion

    zyrolasting committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    13ecd37 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2022

  1. Configuration menu
    Copy the full SHA
    8b65338 View commit details
    Browse the repository at this point in the history
  2. Draft package hooks

    zyrolasting committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    964db36 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    65dbf1e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    29d671f View commit details
    Browse the repository at this point in the history
  5. Add deploy.sh

    zyrolasting committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    c2472a3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ffaabf7 View commit details
    Browse the repository at this point in the history
  7. Avoid sudo in apt test

    zyrolasting committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    14c7e92 View commit details
    Browse the repository at this point in the history
  8. Fix after-install flow

    zyrolasting committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    acafa81 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    de2e77c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    65900d4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    afbd1f7 View commit details
    Browse the repository at this point in the history
  12. Avoid sudo in yum test

    zyrolasting committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    d616574 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    e2f8315 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    60c950c View commit details
    Browse the repository at this point in the history
  15. Show timing lines

    zyrolasting committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    836bc6a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    fe585e1 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    0ae726a View commit details
    Browse the repository at this point in the history
  18. Add g++-10 for .deb

    zyrolasting committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    366adef View commit details
    Browse the repository at this point in the history
  19. Add iterate.sh

    zyrolasting committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    a37cb4b View commit details
    Browse the repository at this point in the history
  20. Add gcc10-optimize.sh

    zyrolasting committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    0029aec View commit details
    Browse the repository at this point in the history
  21. Use sudo for rpm again

    zyrolasting committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    187c675 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    7a13a37 View commit details
    Browse the repository at this point in the history
  23. Add packaging.md

    zyrolasting committed Mar 5, 2022
    Configuration menu
    Copy the full SHA
    9bb8b8b View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    0c5dbb6 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    5d5bc97 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    27d5b80 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    344ab34 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2022

  1. Configuration menu
    Copy the full SHA
    e910fa9 View commit details
    Browse the repository at this point in the history
  2. Revert contrib.md

    zyrolasting committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    f93a126 View commit details
    Browse the repository at this point in the history
  3. Revert pa.sh

    zyrolasting committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    2e5f9dd View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2022

  1. Configuration menu
    Copy the full SHA
    ee36b6b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0d820ef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a3121b1 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2022

  1. Configuration menu
    Copy the full SHA
    6ff4e01 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    594dd4c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    337389f View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2022

  1. Configuration menu
    Copy the full SHA
    5b885da View commit details
    Browse the repository at this point in the history
  2. Remove pash-init.sh

    zyrolasting committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    42f85dc View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2022

  1. Remove dead code

    zyrolasting committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    0875402 View commit details
    Browse the repository at this point in the history
  2. Add package.yaml workflow

    zyrolasting committed Jun 23, 2022
    Configuration menu
    Copy the full SHA
    d180d2f View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2022

  1. Patch PASH_TOP after installation

    I've been told that fixing `pa.sh`'s fallback value for `PASH_TOP` would
    cause performance penalties. This patch updates `PASH_TOP` in `pa.sh` as
    a post-installation step for packages
    
    Verified with existing Docker images, but do not assume 100%
    compatibility with all package managers. Unsure if there are special
    rules out there that prevent an installer writing to a file extracted
    from a package.
    zyrolasting committed Jun 30, 2022
    Configuration menu
    Copy the full SHA
    677cf54 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2022

  1. Configuration menu
    Copy the full SHA
    20179f1 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2022

  1. Configuration menu
    Copy the full SHA
    eb629de View commit details
    Browse the repository at this point in the history
  2. Use different wd

    zyrolasting committed Jul 11, 2022
    Configuration menu
    Copy the full SHA
    bd8a9dd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e7966b3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e3c482d View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2022

  1. Configuration menu
    Copy the full SHA
    6c241f1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    02019b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c1c4683 View commit details
    Browse the repository at this point in the history
  4. Alternative workflow

    zyrolasting committed Jul 25, 2022
    Configuration menu
    Copy the full SHA
    d042c5f View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2022

  1. Use the right workflow

    zyrolasting committed Jul 28, 2022
    Configuration menu
    Copy the full SHA
    2671229 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2022

  1. Configuration menu
    Copy the full SHA
    ef6e728 View commit details
    Browse the repository at this point in the history
  2. Add --username

    zyrolasting committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    bdf6367 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ec7a45c View commit details
    Browse the repository at this point in the history
  4. Remove --squash

    zyrolasting committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    4511bd3 View commit details
    Browse the repository at this point in the history
  5. Fix yaml

    zyrolasting committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    1931a48 View commit details
    Browse the repository at this point in the history
  6. Remove excess quotes

    zyrolasting committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    1de0316 View commit details
    Browse the repository at this point in the history
  7. Prep for shipment

    zyrolasting committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    5131b59 View commit details
    Browse the repository at this point in the history
  8. Update packaging.md

    Add GitHub Actions paragraph content
    zyrolasting committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    41fb1a9 View commit details
    Browse the repository at this point in the history
  9. Add warning

    zyrolasting committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    0ba9784 View commit details
    Browse the repository at this point in the history
  10. Reword docs

    zyrolasting committed Jul 29, 2022
    Configuration menu
    Copy the full SHA
    e30d33a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f61e80f View commit details
    Browse the repository at this point in the history