Ability to skip building staff client in make_release
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
Wishlist
|
Unassigned | ||
2.11 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have been running make_release a lot lately to build tarballs to install Evergreen on new production VMs. (I know I'm doing something not normally expected, but the script is really useful for this purpose.) I have had a number of updates to add, which means building new tarballs as issues with the installation files are addressed in git.
When making these tarballs, I skip building i18n and upgrade scripts, since I did both previously when I made the original tarball for our upgrade in October. The one step that make_release cannot skip is building XUL staff client download files. I don't need these because I'm not updating staff client code, nor am I changing versions. It would be nice if there were a way to skip building XUL staff clients.
I can see two ways to accomplish this:
The first is to add an explicit option to skip building XUL staff clients.
The second, and my preferred way, is to skip building XUL staff clients if the -j option is not provided. It turns out that the argument to -j is only used in building the XUL staff clients. I will post a branch that does this after testing it.
I mention both possibilities to facilitate discussion. Someone else may prefer the first option, but I find the second to be cleaner as it avoids adding yet another option to be documented. With option two, we just modify a few lines of code and change the option's help text.
summary: |
- Ablitty to skip building staff client in make_release + Ability to skip building staff client in make_release |
description: | updated |
Changed in evergreen: | |
milestone: | none → 2.12-beta |
assignee: | nobody → Galen Charlton (gmc) |
Changed in evergreen: | |
milestone: | 2.12-rc → 2.12.1 |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
Branch in is in working/ user/dyrcona/ lp1665933- make_release- skip-xul
http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ dyrcona/ lp1665933- make_release- skip-xul
Using -j still works and omitting -j skips building the staff client and saves several minutes of build time, particularly if -i is also used.
In case anyone is curious, I'm building my update/install tarballs with the following command line:
build/tools/ make_release -b -i -v 2.10.7