1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-21 09:46:19 +02:00
Commit Graph

136 Commits

Author SHA1 Message Date
Marcus Huewe
90a92be0dd - added "build-jobs" config option (default: "getconf _NPROCESSORS_ONLN") 2010-01-09 14:56:55 +01:00
Marcus Huewe
5c8ee534a9 - cleanups + cosmetic changes 2010-01-09 14:25:41 +01:00
Marcus Huewe
5a7346858a - double quote (user specified) pathnames 2010-01-09 11:42:07 +01:00
a2e3e0ab0f fix error when calling "osc build" without absolute path to spec file 2009-12-11 10:31:53 +01:00
0b60db740c * Revert fetch-cpio support for now, too many complains due to broken
product building atm.
* add --link-source option for "osc build" to speed up product building
2009-12-09 06:53:27 +01:00
Ludwig Nussel
1ff4978b98 implement build --release 2009-12-01 13:36:11 +00:00
Ludwig Nussel
75bdc2e6c7 allow build in read-only directory 2009-11-26 09:52:26 +00:00
Ludwig Nussel
aafcf707fd hack to make dependency expansion of --with and --without work for local builds 2009-11-24 09:49:53 +00:00
Ludwig Nussel
d47ebed9e0 --with and --without need to be array 2009-11-24 09:49:26 +00:00
2393044585 add "osc build --root" option to allow to specify build root directory.
(not only for mls ;)
2009-11-23 13:53:59 +00:00
Marcus Hüwe
be2df795c9 - use a meaningful package name instead of "_repository" 2009-11-17 17:23:30 +00:00
Ludwig Nussel
bed57f7684 extra-pkgs must be list always 2009-11-13 13:24:33 +00:00
fbf63aae84 change "osc maintained" syntax to "osc sm" or "osc search --maintained"
as decided in Build Team Meeting.
2009-11-06 16:08:20 +00:00
5bfc8a653d no verification of packages in build --noinit case, packages get not
installed anyway
2009-11-06 12:58:34 +00:00
Marcus Hüwe
f79a9a50f9 - fixed #477690 ("osc fetching binaries really slow"). "osc build" does only one request (per project) to the API and fetches all binaries in a cpio archive (in case the binaries weren't found on d.o.o) instead of doing one request for each package.
- fetch.py: get rid of the "partname concept" for fetching binaries and use tempfiles instead (the former concept can lead to unexpected errors in some cases)
2009-11-05 20:48:04 +00:00
299eec25f6 correct messages about package verifications 2009-11-05 09:11:00 +00:00
060a87e9b3 make "no valid buildinfo" message a bit more helpfull 2009-11-04 22:06:38 +00:00
Marcus Hüwe
c420d5ef06 - don't use relative paths 2009-10-24 17:20:41 +00:00
Marcus Hüwe
1922ec5de9 - cleanups:
* use default tempdir
  * removed delete_tmpdir() method
  * delete_dir(): don't catch exceptions
2009-10-24 12:47:21 +00:00
Marcus Hüwe
902cbddf31 - oops don't close this file 2009-10-24 12:21:30 +00:00
Marcus Hüwe
700856ee7b - small fixes for offline build support 2009-10-24 12:13:40 +00:00
Pavol Rusnak
661d927d38 code cleanup 2009-10-20 14:30:15 +00:00
9266647b0c - support 100% offline build when using "osc build --noinit ..."
-> buildinfo gets stored in local directory as .buildinfo.xml
2009-10-20 08:43:52 +00:00
Ludwig Nussel
ca237c5af9 don't fetch packages if build was called with --no-init 2009-10-09 11:37:27 +00:00
Marcus Hüwe
1130e28061 - always use the latest version of a package (in case the dir contains multiple versions of a package) when running "osc build --prefer-pkgs /path/to/pkgs" 2009-09-21 17:29:20 +00:00
Marcus Hüwe
2123e136e0 - osc build: if the --jobs option is omitted use '--jobs #<available processors>' (patch by Cristian Rodriguez <crrodriguez@suse.de>) 2009-09-20 15:59:46 +00:00
Marcus Hüwe
eec733fda5 - ignore release if not present 2009-09-13 16:57:40 +00:00
Marcus Hüwe
fbd1fca228 - use correct apiurl when calling meta_exists() 2009-09-12 23:58:56 +00:00
Marcus Hüwe
6ff386b710 - added debian support for "osc build ... --prefer-pkgs /path/to/pkgs/" 2009-09-12 23:55:56 +00:00
Marcus Hüwe
3b0d879753 - added support for the "inject local rpmdata" stuff:
* it's possible to use local packages for a build which don't exist in the obs
  * currently only rpms are supported but debian support will follow soon
2009-09-10 12:18:07 +00:00
56f1f9144b bail out with error message when an incomplete package description is
part of buildinfo. Happens when "Preinstall"ing a non existing package
for example.
2009-09-09 08:17:13 +00:00
Jürgen Weigert
bcb16c3320 more tabs expanded 2009-09-03 19:00:09 +00:00
090e79964c * use a release number setting on local build, if it is given by the server.
Otherwise just use 0 as fallback
2009-08-20 10:45:39 +00:00
Jan-Simon Möller
853c2c5dcb Add support for --overlay and --rsync-{src,dest} to build and osc.
--overlay OVERLAY
              Copy overlay filesystem to buildroot after installing
              all RPMs. This must be a valid directory.
--rsync-src RSYNCSRC
              Copy overlay folder (RSYNCSRC) to a folder (RSYNCDEST)
              inside the buildroot using rsync.
              It will "%define RSYNCDONE 1" for handling %setup in your
              specfile. E.g.:
              %prep
              %if 0%{?RSYNCDONE}
              %setup -n aaa_base -T -D -b 5 -b 7
              %else
              %setup -n aaa_base -b 5 -b 7
              %endif
--rsync-dest RSYNCDEST

Todo: tell rpmbuild not to delete the folders.
2009-08-18 21:28:33 +00:00
Marcus Hüwe
863bd5664d - buildarch (=scheduler/repo arch) should be the correct fallback 2009-08-09 18:10:13 +00:00
690857d452 fix build of multiarch products. This was wrong in general and affected
all builds. So we may see some other breakage somewhere else.
2009-08-06 12:50:53 +00:00
Marcus Hüwe
b742d58794 - determine pacsuffix from buildtype (slightly modified version of David Greaves' <david@dgreaves.com> patch) 2009-08-04 16:01:02 +00:00
Marcus Hüwe
6492b73677 - add partname and fullpartname attributes to Pac() class
- cleanup partial files in case the user hits ctrl-c
2009-07-15 19:48:16 +00:00
Michael Schröder
d57c82fbec - calculate canon name from downloaded rpm, as the server may
give us the wrong/missing information
- also fixes builds with packages from interconnected build services
2009-06-16 12:15:41 +00:00
e46cba2084 - justify comments from Jan-Simon, reflecting that the former behaviour
was a bug actually. Only packages from buildinfo must be available in
  repos.
- add news entry about fixed image building
2009-06-03 11:35:03 +00:00
Jan-Simon Möller
95a935b1dc Link only the needed packages and not the packagecachedir for 'osc build config.kiwi' . 2009-06-03 10:10:51 +00:00
Marcus Hüwe
5b3a55091d - fixed typo 2009-05-15 15:25:09 +00:00
Pavol Rusnak
121b20c63c more fixes for Windows port 2009-05-15 11:40:50 +00:00
Michal Cihar
aedeea317c Drop shebang line from modules (bnc#500971).
(Some did have it and some did not, this way it is consistent and they
are anyway not supposed to be executed directly.)
2009-05-05 14:11:25 +00:00
Martin Mohring
5097f48c50 - fixed: another fix for arm 2009-05-04 21:44:44 +00:00
Martin Mohring
5b4f958cbc - fixed: non cross build arm support 2009-05-04 19:01:17 +00:00
Martin Mohring
528cc81de2 - fixed: let users use osc for arm also on native arm machines 2009-05-04 18:48:41 +00:00
e2524f036d find and list debian sources in build root 2009-04-27 11:44:38 +00:00
8b1882e7a9 * add support for kiwi builds in output results
* fix support for output directories, when they are not a symlink
2009-04-20 13:07:43 +00:00
20f8234d8c support checkout of single packages via "osc co PACKAGE" when local dir
is a project dir.
2009-04-17 08:39:04 +00:00