Ticket #108 (closed enhancement: fixed)

Opened 3 years ago

Last modified 14 months ago

Building of release files should be automated

Reported by: svoboda Owned by: svoboda
Priority: major Milestone: 0.4.3
Component: helenos/build Version: mainline
Keywords: Cc:
Blocker for: Depends on:
See also: #124

Description

There should be a script to build the release files. This should be easy to do and has the following advantages:

  • Faster, easier building is good especially when releasing in quick succession (e.g. bugfix release).
  • More deterministic, less prone to errors.
  • More transparent (anyone can see how the builds are made, so they know exactly what they are getting)
  • Susceptible to testing.

Basically it should be possible to configure HelenOS from one of the preset files via command line (this is very useful itself). Then, the script would just select the proper configuration for each release file and then copy it it from the build directory.

Change History

comment:1 Changed 2 years ago by jermar

  • Component changed from unspecified to build

comment:2 Changed 18 months ago by jermar

  • See also set to #124

comment:3 Changed 16 months ago by jermar

  • Status changed from new to assigned
  • Owner set to jermar

comment:4 Changed 16 months ago by jermar

  • Type changed from proposal to enhancement

comment:5 Changed 16 months ago by jermar

  • Status changed from assigned to accepted

comment:6 Changed 15 months ago by jermar

  • Status changed from accepted to assigned
  • Owner changed from jermar to svoboda

comment:7 Changed 15 months ago by svoboda

With the integration of changeset:mainline,863 and changeset:mainline,879 most of this problem is solved. Still we need to figure out what additional tuning should be applied by the release Makefile so that the release files are fit for release.

  • for example, the Bazaar revision should not be compiled in

comment:8 Changed 14 months ago by svoboda

  • Status changed from assigned to closed
  • Resolution set to fixed

In changeset:mainline,881, changeset:mainline,882 and changeset:mainline,883 I made the release Makefile first export the source from Bazaar and then build a source tarball and build the release images. This also ensures the Bazaar revision is not built into the release images. I consider this ticket resolved.

In the future it would be nice to unify 'make check' and 'make release' to avoid duplication.

Note: See TracTickets for help on using tickets.