Changes between Version 17 and Version 18 of Ticket #29146


Ignore:
Timestamp:
Apr 25, 2020, 6:42:32 PM (3 years ago)
Author:
mkoeppe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29146 – Description

    v17 v18  
    1 `build/bin/write_dockerfile.sh`, introduced in #29053, determines lists of system packages in a rather crude way. This should be improved.
    2 
     1Improvements to low-level system packages scripts:
     2- `build/bin/write_dockerfile.sh`, introduced in #29053, determines lists of system packages in a rather crude way. This should be improved.
    33- instead of passing `TYPE_PATTERN` to `build/bin/write_dockerfile.sh`, do the work in `tox.ini`.
    44- helper scripts for extracting lists of packages according to criteria
    55- possibly, by extending and using `sage_bootstrap`
     6- Extend `build/bin/sage-print-system-package-command` so that it can provide all distribution-specific commands such as `apt-get install` for `build/bin/write_dockerfile.sh`
     7
     8Improvements to the system package database:
     9- define shell quoting in files like `debian.txt`, handle options correctly when installing packages one by one, fix up passing installation options when `IGNORE_MISSING_PACKAGES=yes`
     10- #29124 Add script packages build/pkgs/_prereq, build/pkgs/_toolchain, build/pkgs/_bootstrap
     11
     12Improvements to `tox docker`:
    613- optionally create a script for `docker run` instead of a `Dockerfile` (this gives more flexibility for multiarch - see #29143)
    714- cache Docker images with system packages installed ... https://github.com/marketplace/actions/build-docker-images-using-cache
    8 - define shell quoting in files like `debian.txt`, handle options correctly when installing packages one by one
     15- move log extraction code from tox.yml to tox.ini (#29530 did some preparation already)
     16- Make obtaining image from container of failing builds more robust: Use LABEL commands in dockerfiles, use `docker ps --filter label=.... ` to look up the container (https://docs.docker.com/engine/reference/commandline/ps/)
    917
    10 tox.ini:
    11 - Obtain image from container of failing builds. Move&improve code from tox.yml. Use `docker ps --filter label=.... ` to look up the image more reliably (https://docs.docker.com/engine/reference/commandline/ps/)
    12 
    13 Also:
    14 - distribution-specific commands such as `apt-get install` are in both `build/bin/write_dockerfile.sh` and `build/bin/sage-spkg`. This could be unified as well, or be obtained from another text file etc., by using/extending `build/bin/sage-print-system-package-command` from #26964
    15 
    16 Related:
    17 - #29417 - has various improvements already
    18 - #29087 - Add GitHub Actions workflow for testing the build on various Linux distributions via docker; macOS with homebrew; and Windows (cygwin)
    19 - #29401 - Add documentation of tox and GitHub actions workflow to developer's manual
     18Improvements to `tox local`:
     19-
    2020
    2121Improvements to auto-generated parts of the manuals:
    2222- #29558 Autogenerated parts of installation guide
     23- #29557 Add script package `_recommended` and generate "recommended system packages" info
    2324
    2425Improvements for messages at the end of a `./configure` run:
     
    2728- #29372 - At the end of `configure`, show installation hints for disabled optional packages separately
    2829- Hints after ./configure: maybe sort and remove duplicates (https://groups.google.com/d/msg/sage-devel/EWTVN-Fmc8w/y9933Zo1AQAJ)
     30
     31See also:
     32- #29060 Meta-ticket: Add Dockerfiles and CI scripts for integration testing of source and binary distributions and of downstream packages