1 # BRANCHID change instructions
3 BRANCHID is set in [make-rules/ips-buildinfo.mk](../make-rules/ips-buildinfo.mk) as
6 BRANCHID ?= $(RELEASE_MAJOR).$(RELEASE_MINOR).$(UPDATENUM).$(COMPONENT_REVISION)
9 RELEASE_MAJOR is usually set to current year, RELEASE_MINOR and UPDATENUM are bumped when necessary and COMPONENT_REVISION is set by components individually to represent component modification.
11 BUILD_VERSION is set in the same file as
14 BUILD_VERSION ?= $(PKG_SOLARIS_VERSION)-$(BRANCHID)
17 Published packages version is set to ``$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)``, where ``IPS_COMPONENT_VERSION`` is set to ``COMPONENT_VERSION`` if not explicitly defined in component's Makefile.
19 Sometimes, on major packages updates, on changing repository, on releasing new snapshot we have to change BRANCHID.
21 The main issue during this process is to ensure that components, using auto-generated PLV, RUBYV and PYV manifests are republished after BRANCHID change.
23 This is necessary, because their publishing logic is broken in some way, and they can be published twice. On the first publish everything goes OK, but on the second only meta-package,
24 dependent on individual packages versions, is republished. As it includes dependency on $(IPS_COMPONENT_VERSION),$(BUILD_VERSION) subcomponents and BUILD_VERSION is changed,
25 we receive non-installable package.
27 To find components, which should be republished, use
30 git ls-files '*VER.p5m' | xargs -n 1 dirname
33 As of May 2019 these are the following components:
38 perl/*, excluding perl interpreters
39 python/*, excluding python interpreters