forked from altlinux/girar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TASK
97 lines (86 loc) · 4.63 KB
/
TASK
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
Define task directory structure.
# When the task is first created.
TASK_ID/task/id TASK_ID==id
TASK_ID/task/owner GIRAR_USER
TASK_ID/task/repo 4.0, 4.1, 5.0, p5, 5.1, p6, 6.0 or Sisyphus
# Task state files.
TASK_ID/task/state task state identifier
TASK_ID/task/try task try number
TASK_ID/task/iter task iteration number
TASK_ID/task/run girar user id started the latest try
TASK_ID/task/fail-early fail-early flag
TASK_ID/task/test-only test-only flag
TASK_ID/task/depends list of done task numbers the task depends on
TASK_ID/task/message message specified by "task run -m"
TASK_ID/task/version the girar version used to process the task
# Task logs.
TASK_ID/logs/events.$try.$iter.log log of important events during $try.$iter stage
TASK_ID/logs/commit.log log of gb-y-task-commit-packages
# Task report data.
TASK_ID/report/summary report summary
TASK_ID/report/acl-addressees list of acl addressees, one id per line
TASK_ID/report/unmet-addressees list of unmet addressees, one id per line
TASK_ID/report/unmets-src sorted list of unmet src packages, one package per line
# Email sent to bugzilla to close bugs.
TASK_ID/mail/bugmail/$bug_id bugmail contents for bug $bug_id
# Email sent to whom it may concern about fixed vulns.
TASK_ID/mail/cvemail/$cve_id cvemail contents for vuln $cve_id
# After the build is successful, there is a plan to upgrade the repo.
# packages going to be added
TASK_ID/plan/add-src+bin src-N src-EVR src-F bin-N bin-EVR bin-A bin-F bin-C[ <may be extended in the future>]
TASK_ID/plan/add-src src-N src-EVR src-F src-P src-I
TASK_ID/plan/add-srpm2arch src-F src-P bin-A
TASK_ID/plan/add-bin bin-N bin-EVR bin-A bin-F bin-P bin-I bin-C[ <may be extended in the future>]
# packages going to be removed
TASK_ID/plan/rm-src+bin src-N src-EVR src-F bin-N bin-EVR bin-A bin-F bin-C[ <may be extended in the future>]
TASK_ID/plan/rm-src src-N src-EVR src-F
TASK_ID/plan/rm-srpm2arch src-F bin-A
TASK_ID/plan/rm-bin bin-N bin-EVR bin-A bin-F bin-C[ <may be extended in the future>]
# packages going to be replaced
TASK_ID/plan/oldsrc2newsrpm src1-N src2-F
# arches to be changed
TASK_ID/plan/change-arch bin-A
# new lists
TASK_ID/plan/next.src src.list to be committed
TASK_ID/plan/next.bin bin.list to be committed
TASK_ID/plan/src.list.diff diff -u $GB_REPO_DIR/files/list/src.list plan/next.src
TASK_ID/plan/bin.list.diff diff -u $GB_REPO_DIR/files/list/bin.list plan/next.bin
# Task "has-a" list of sources for build.
TASK_ID/gears/$i/userid girar user id, e.g. joe
# gear subtask specific files
TASK_ID/gears/$i/dir GIT_DIR, e.g. /people/GIRAR_USER/packages/${dir##*/}.git
TASK_ID/gears/$i/tag_name git tag name, e.g. 1.0-alt1
TASK_ID/gears/$i/tag_id git tag id, i.e. SHA1 hex
TASK_ID/gears/$i/tag_author git tag author, e.g. Joe Hacker <joe@altlinux.org>
TASK_ID/gears/$i/pkg.tar pkg.tar file generated from tag_name
# srpm subtask specific files
TASK_ID/gears/$i/srpm srpm file name, e.g. foo-1.0-alt.src.rpm
TASK_ID/gears/$i/$srpm srpm file
# copy subtask specific files
TASK_ID/gears/$i/copy_repo package repository to copy from, e.g. sisyphus
# subtask specific files used by rebuild
TASK_ID/gears/$i/rebuild_from package repository to rebuild from, e.g. sisyphus
# subtask specific files used by copy and rebuild
TASK_ID/gears/$i/package package name, e.g. foo
# common gear and srpm subtask files
TASK_ID/gears/$i/sid source id (type:hash)
# NMU approvals acl/approved/$i/ and acl/approved/$i/ are 1-1 to gears/$i/
TASK_ID/acl/approved/$i/USER USER@altlinux.org approved gears/$i/
TASK_ID/acl/disapproved/$i/USER USER@altlinux.org disapproved gears/$i/
# Build results build/$i/ is 1-1 to gears/$i/, with per-arch subdirs.
TASK_ID/build/$i/$arch/status status of the last subtask build
TASK_ID/build/$i/$arch/try_iter try.iter of completed subtask build
TASK_ID/build/$i/$arch/chroot_base hsh --initroot packages
TASK_ID/build/$i/$arch/chroot_BR BuildRequires packages
# packages built with hasher
TASK_ID/build/$i/$arch/srpm/*.src.rpm exactly one *.src.rpm
TASK_ID/build/$i/$arch/rpms/*.rpm 1+ *.$arch.rpm or *.noarch.rpm
TASK_ID/build/$i/pkgname source package name
TASK_ID/build/$i/changelog source package last changes
# Task repository generated when basic tests are passed.
TASK_ID/build/repo http://git.altlinux.org/repo/TASK_ID $arch task
# Package test install files, with per-binary-package per-arch subdirs.
TASK_ID/install/$package/$arch/id unique id of $package-%version-%release.$arch.rpm
TASK_ID/install/$package/$arch/chroot_base hsh --initroot packages
TASK_ID/install/$package/$arch/chroot_install requirements installed on top of hsh --initroot
TASK_ID/install/$package/$arch/warnings warnings generated during the install test