Skip to content

Commit 87023b7

Browse files
committed
Answer to @wddgit question in form of a FAQ.
1 parent d1ea42d commit 87023b7

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

FAQ.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## How can I tell which version of an external is used?
2+
3+
First lookup your release in [config.map](https://github.com/cms-sw/cms-bot/blob/master/config.map).
4+
5+
Each line contains properties of a release queue.
6+
7+
`CMSDIST_TAG` will tell you which CMSDIST tag / branch to lookup in:
8+
9+
<https://github.com/cms-sw/cmsdist>
10+
11+
Look up for the spec related to your external and you should find in the first
12+
rows either a line of the kind:
13+
14+
Source: <some-url>
15+
16+
for example:
17+
18+
Source: git+https://github.com/%github_user/root.git?obj=%{branch}/%{tag}&export=%{n}-%{realversion}&output=/%{n}-%{realversion}-%{tag}.tgz
19+
20+
the `%{defined-variable}` gets expanded to their value, as required by rpm. In particular in many cases we have:
21+
22+
- `%tag`: the hash commit to be used for the external.
23+
- `%branch`: the branch on which the commit its located.
24+
- `github_user`: the user owning the repository to be used.

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ through a Github issue.
2929
- [upload-release](): script used to upload a release to the repository. When
3030
the job processing build requests spots a request to upload, it SSH to the
3131
build machine which has the release and executes this script.
32+
- [config.map](https://github.com/cms-sw/cms-bot/blob/master/config.map): semicolon separated `key=value`
33+
pairs formatted file with release queue related information. Each line represent a release queue. In
34+
particular `CMSDIST_TAG` is used to point to the CMSDIST tag to be used by the release building process.
3235

3336
# Logging
3437

0 commit comments

Comments
 (0)