Marcus Huewe
2b4570ba81
- don't add buildargs twice
2010-02-18 14:36:41 +01:00
Luboš Luňák
4b95a71620
avoid useless conversion to set that randomizes arguments order
...
I admit my Python skills are pretty weak, but this set conversion
appears to be useless and it can change order of arguments from e.g.
--jobs 2 --icecream 20
to
--icecream 20 --jobs 2
As the --jobs 2 actually comes from OSC itself on multicore systems
and --icecream 20 was passed from the command line, this
obviously renders the --icecream argument rather useless.
2010-02-12 18:37:12 +01:00
Marcus Huewe
8670d82fad
- fixed indention
...
- added 'icecream' to config dict
2010-02-12 11:55:09 +01:00
Ludwig Nussel
d5ae3ef2b4
command line options for cpio (default=off)
2010-02-12 11:23:03 +01:00
Ludwig Nussel
daf3516d1c
add fetch-cpio support again
...
This partially reverts commit 0b60db740c
.
2010-02-12 11:23:03 +01:00
Ludwig Nussel
68dd680cf3
make iceream configurable in config file
2010-02-12 10:12:21 +01:00
Marcus Huewe
88b866f733
- store buildinfo and buildconfig in the correct dir
2010-02-09 16:35:48 +01:00
Marcus Huewe
8d1c1804bf
- fix + beautify
2010-02-05 15:14:48 +01:00
8f3683b497
Merge commit 'refs/merge-requests/1' of git://gitorious.org/opensuse/osc
2010-02-05 08:55:46 +01:00
Marcus Huewe
0d67340644
- fixed #571491 ("[osc] --local-package always builds for the host system and doesn't respect the server repos anymore since 0.125")
2010-01-30 17:06:43 +01:00
Marcus Huewe
3dc4a09a29
- use correct package name unless --local-package is specified
2010-01-30 00:08:28 +01:00
Luke Imhoff
96210b6dac
Allow --prefer-pkgs to parse repodata
...
Any directory passed to --prefer-pkgs will be searched for a repodata
directory. If the directory does not contain a repodata directory, then
each ancestor directory is checked. This allows for the user error of
specifying an individual architecture directory (e.g. x86_64) instead of the
parent repository directory that contains the repodata:
repository/
x86_64/
*.rpm
repodata/
*.xml.gz
The use case for this feature is it allows snapshots of the OBS repositories
to be offloaded to an network-attached filesystem. repodata directories are
used as the xml.gz files are faster to read than the 100s of rpms in a given
snapshot. These snapshots are used to track older rpm sets that may be
deployed for testing.
2010-01-18 09:12:10 -06:00
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