~ubuntu-branches/ubuntu/oneiric/sbuild/oneiric

« back to all changes in this revision

Viewing changes to TODO

  • Committer: Bazaar Package Importer
  • Author(s): Lorenzo De Liso
  • Date: 2011-05-01 16:55:16 UTC
  • mfrom: (8.1.19 upstream) (3.3.17 sid)
  • Revision ID: james.westby@ubuntu.com-20110501165516-8g3uwrnhv2bzjt8y
Tags: 0.62.2-1ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/patches/do-not-install-debfoster-into-chroots.patch: 
    do not install debfoster into the chroots because it is in universe and 
    not needed for package building itself.
  - debian/patches/run-pre-build-hooks-as-root.patch: 
    run pre-build hooks as root (Closes: #607228)
* Now that the package uses a patch system, don't modify the files directly;
  instead, put the changes in the respective patches and add the DEP-3
  patch tagging guidelines to them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
sbuild-createchroot should import most of buildd-make-chroot.
6
6
(note: only needed for buildd use--accounts and passwords needed for access)
7
7
 
8
 
Split utility programs into library functions. Functions should operate on
9
 
chroot objects, or plain files where appropriate.
10
 
 
11
8
Chroot.pm: Move chroot naming out of begin_session.
12
9
 
13
10
Are 'Build Start Time' and 'Pkg Start Time' different?
55
52
 
56
53
Copyright details of new files.
57
54
 
58
 
ConfBase get/set code doesn't distinguish between undefined and empty
59
 
   hashes (and also arrays?)  Due to Perl automatically creating an
60
 
   instance if the reference is undefined (autovivification).
61
 
 
62
55
Validate programs and paths only if required
63
56
- programs which only work inside the chroot
64
57
- programs which only work outside the chroot (if required by config)
65
58
- programs which may or may not be required inside and/or outside
66
59
 
67
 
gzip log files
68
 
 
69
 
send gzipped log mail, with correct headers
70
 
Content-Transfer-Encoding and Content-Type need setting.
71
 
message['Content-Transfer-Encoding'] = 'base64'
72
 
message['Content-Type'] = 'application/x-gzip'
73
 
https://buildd.debian.org/docs/log-compressor.py
74
 
 
75
60
Where did the 0.57.7 debian/changelog go to?
76
61
 
77
62
buildd-mail: Why do we use lockfiles rather than real fcntl locks?
78
63
 
79
 
sbuild: Add alternative build-dep resolver support:
80
 
 - traditional (current)
81
 
 - apt_get (apt-get build-dep)
82
 
 - apt_package (dependency package)
83
 
 - aptitude (aptitude build-dep)
84
 
 - aptitude_package (dependency package)
85
 
 
86
64
Move locking functions out of Sbuild::Build.  Use proper locking in
87
65
place of lockfiles.
88
66
 
89
 
Wannabuild::Database::send_reupload_mail unused.
90
 
 
91
 
Wannabuild::Database: Move priority, section and category values into
92
 
configuration file to allow customisation.
93
 
 
94
67
Sbuild::Base: Add append method to simplify set(get() . ) idiom.
95
68
 
96
69
buildd auto-restart isn't useful due to loss of @INC and failure to
112
85
 
113
86
END blocks should be inside object destructors.
114
87
 
115
 
run|pipe_apt_command should be generic functions, not class
116
 
methods.
117
 
 
118
 
Use ChrootRoot to run commands on host system.  Remove CHROOT
119
 
parameter?  Only needed for run_apt_command, which can work
120
 
accordingly without CHROOT.
121
 
 
122
88
buildd-vlog: Rather than tailing the output of sbuild logs, once
123
89
buildd uses Sbuild::Build directly, the daemon will be able to
124
90
do its own output (if desired).
147
113
 
148
114
lib/Buildd: Move logger vfunc into Sbuild::Log as the default logger?
149
115
 
150
 
Add sbuild configuration option to disable package removal on cleanup.
151
 
(#528312)
152
 
 
153
 
sbuild-* should use ChrootSetup.
154
 
 
155
 
sbuild-checkpackage: Make functions to get and set the package list
156
 
in Sbuild::ChrootSetup.
157
 
 
158
 
sbuild-hold|unhold: Make functions to get and set the package list
159
 
in Sbuild::ChrootSetup.
160
 
 
161
116
Generalise chroot setup logic in Build.pm and Chroot.pm
162
 
Put all APT and debconf configuration into sbuild.conf.
 
 
b'\\ No newline at end of file'
 
117
Put all APT and debconf configuration into sbuild.conf.
 
118
 
 
119
Documentation improvements:
 
120
 
 
121
- setup of cloned chroots (source-*)