Marcus Huewe
7efd6db501
- added support for a per apiurl "build-root" option
...
Resolution order:
OSC_BUILD_ROOT env var > apiurl build-root option > general build-root option
2014-06-04 15:33:30 +02:00
Michael Schroeder
42c357336e
take epoch into account when calculating the filename
...
ArchLinux has the epoch in the canonname, Debian discusses doing
this as well.
2014-05-13 13:29:41 +02:00
Michael Schroeder
5a65b06927
support installonly/noinstall tags for mock buildengine
2014-04-30 16:26:03 +02:00
Marcus Huewe
d6e6c0538e
- get "osc build --prefer-pkgs ..." working with Arch
2014-04-03 17:41:41 +02:00
2c6415264d
- fix "osc build $repo aarch64" call without specifing a spec file. aarch64 is not recognized as architecture due to wild parameter guessing
2014-02-03 17:33:49 +01:00
Dinar Valeev
359d5c5a84
ppc64le can be built on ppc64
...
In case vm-type is KVM, we can build Little Endian packages on Big
Endian host.
Signed-off-by: Dinar Valeev <dvaleev@suse.com>
2013-12-03 08:25:13 +01:00
Dinar Valeev
82a5350a11
Add ppc64le architecture
...
This commit adds PowerPC64 Little Endian architecture support
Signed-off-by: Dinar Valeev <dvaleev@suse.com>
2013-11-06 09:11:05 +01:00
Sascha Peilicke
5ef2d4035c
Merge pull request #37 from k0da/master
...
Add ppc64p7 architecture
2013-10-18 02:31:30 -07:00
bdc772ef10
- sync appliance building using obsrepositories with bs_worker code
2013-08-14 18:30:43 +02:00
Ionuț Arțăriși
2dac43aecf
rephrase trust prompt
...
'always' is a key word in that sentence and it should be the first word;
it also sounds like better English this way
2013-07-25 17:19:04 +02:00
0437ab9be0
- support for kiwi appliance builds using obsrepositories:/ directive
2013-07-04 16:41:59 +02:00
1d7cb3d1db
- add armv6hl definition
2013-07-04 11:04:31 +02:00
Dinar Valeev
51b549db3a
Add ppc64p7 build definitions
2013-06-07 13:28:57 +02:00
Marcus Huewe
4736763c22
- reverted commit 9acda37d5f
...
Now "get_built_files" always returns a tuple which consists of two strings.
So no cast is needed anymore.
2013-06-03 16:32:39 +02:00
Danny Al-Gaaf
3ac21eb1e3
build.py: add missing spaces
...
Add missing spaces around operators and spaces after comma.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-27 14:47:16 +02:00
Danny Al-Gaaf
2f197c698b
build.py: remove unnecessary semicolon
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-27 14:28:59 +02:00
Danny Al-Gaaf
7e3a901596
build.py: fix bad indentation
...
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-27 14:19:44 +02:00
Danny Al-Gaaf
9acda37d5f
build.py: add cast to be able to use str.splitlines()
...
Cast some variables to str() to be able to use str.splitlines().
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2013-05-26 20:25:44 +02:00
Marcus Huewe
a8def0f433
- build: fixed typo (patch by darix)
...
typo was introduced in commit d3648be24b
2013-04-22 16:26:31 +02:00
e1291fdcc6
- fix the general architecture detection for incomplete "osc build" lines
2013-04-16 15:42:37 +02:00
Michal Vyskocil
419367fca3
python3 compatibility: urllib
...
fixes all renames in urllib, urllib2, urlparse modules in python3
2013-04-16 10:51:42 +02:00
Michal Vyskocil
5cc72902e0
python3 compatibility: raw_input
...
raw_input has been removed and equals to input in py3. Unfortunatelly no
__future__ statement exists for that. Ensure all modules uses
osc.core.raw_input except osc.cmdln, where there is NameError way
implemented.
2013-04-16 10:51:41 +02:00
Michal Vyskocil
7f2031558c
python3 compatibility: print function
...
The most visible change in python3 - removal of print statement and all
the crufty
print >> sys.stderr, foo,
The from __future__ import print_function makes it available in python
2.6
2013-04-16 10:51:41 +02:00
Michal Vyskocil
87d354e1a0
python3 compatibility: import proper modules
...
Some modules (httplib, StringIO, ...) were renamed in python3. This
patch try to import the proper symbols from python3 and then fallback to
python2 in a case ImportError will appear.
There is one exception, python 2.7 got the io module with StringIO, but
it allow unicode arguments only. Therefor the old module is poked before
new one.
2013-04-16 10:51:18 +02:00
Michal Vyskocil
c612e8d47e
python3 compatibility: use relative imports
...
Use relative imports when using module's own modules - this makes a
clear distinction between already developed copy and installed package.
2013-04-16 10:51:18 +02:00
Michal Vyskocil
f814fe4af4
python3 compatibility: idioms
...
more idiomatic code - changes
* type(foo) == bar to isinstance(foo, bar)
* changes the uneeded .sort calls by sorted()
2013-04-16 10:51:18 +02:00
Michal Vyskocil
2ad4a8c873
python3 compatibility: has_key
...
don't use method removed from python3
2013-04-16 10:51:17 +02:00
Michal Vyskocil
3a93ac6d10
python3 compatibility: except
...
changes 'except FooError, fe' to 'except FooError as fe'
available in python 2.6
2013-04-16 10:51:17 +02:00
Michal Vyskocil
d3648be24b
python3 compatibility: dict
...
this patch
1.) removes the iteritems/itervalues, which were dropped in py3
items/values are used instead
2.) add an extra list() in a cases the list-based access is needed
(included appending, indexing and so)
3.) changes a sorting idiom in few places
instead of
foo = dict.keys()
foo.sort()
for i in foo:
there is a recommended
for i in sorted(dict.keys()):
4.) in one occassion it removes a if dict.has_key() by simpler
dict.get(key, default)
2013-04-16 10:51:17 +02:00
Michael Schroeder
1299b73efa
fix with/without definitions, --with should not define %_without and vice versa
2013-03-20 15:38:25 +01:00
d082c75958
- drop the support for deprecated cbinstall and cbpreinstall directives
2013-03-19 08:17:13 +01:00
948687c4cf
- do not crash on manual configured buildroot
2013-03-18 17:41:57 +01:00
Marcus Huewe
93df866787
- added new function core.run_external which can be used to execute an external program
...
Basically it's just a wrapper around subprocess.call which raises an ExtRuntimeError
exception if subprocess.call raised an OSError with errno set to ENOENT (unfortunately
the OSError's filename attribute is set to None therefore we cannot print a meaningful
error message (that's why an ExtRuntimeError is raised)).
Replaced all occurrences of subprocess.call with a corresponding run_external call.
2013-03-08 00:56:57 +01:00
d26b3df32f
- handle architecture parsing also right when an emulator is used. Just warn in that case,
...
because we can check for sure if an emulator is configured.
2013-02-11 15:35:15 +01:00
143af44479
- support --target argument for "osc build"
2013-02-06 17:12:52 +01:00
8097a9550d
- fix local build with emulator support.
...
- fix package signing check (skip always for use inside of secure VMs)
2013-02-03 19:08:38 +01:00
f1c55334b3
- add aarch64 build definitions
2013-02-03 13:25:32 +01:00
3af97625d4
- support prefer pkgs for kiwi builds
2012-11-08 09:01:19 +01:00
Alexey Sidorin
22fb12b66f
build.py: bugfix: incorrect determination of hostarch available for build
...
* x86-64 should be able to build for i586 hostarch but it doesn't.
2012-10-17 17:39:22 +04:00
Marcus Huewe
dc134de6d5
- build: fixed indention (use spaces instead of tabs)
2012-09-27 21:43:45 +02:00
Michael Schroeder
ab28b8f492
- fix build result listing for arch
2012-08-13 12:54:38 +02:00
Michael Schroeder
8df38af7e3
support archlinux builds
2012-04-03 16:00:06 +02:00
Stephan Kulow
770a3e6172
don't only calculate repofilename but also filename according to 'binary'
...
attribute - otherwise cache access won't work
2012-02-22 14:12:06 +01:00
Stephan Kulow
b1502a5715
support buildinfos with binary present - and don't die with XML
2012-02-22 13:28:19 +01:00
39b85af5d9
- use hostarch from buildconfig instead of own architecture guessing
2012-02-09 15:13:04 +01:00
475867cc64
- make file system configurable
2012-02-04 17:05:17 +01:00
e0683d074c
- use qemu as fallback when arch is not supported (unable to test it because of broken binfmt misc)
2012-01-12 13:47:31 +01:00
321cbdc9ff
- add armv7l, armv6l and armv5l archs for building
2011-10-09 11:23:00 +02:00
c0618f3ede
- make osc build working on debian arm
2011-09-28 15:32:57 +02:00
Marcus Huewe
2460d8a8f8
- fix for commit b0ddeb909d
2011-04-28 23:55:22 +02:00
Martin Mohring
b0ddeb909d
[osc] allow expansion of %(apihost)s also as part of setting
...
packagecachedir in .oscrc so we can have caches per apihost
2011-04-14 21:54:00 +02:00
Marcus Huewe
400e417a5f
- build.py: remove debug output
2011-03-19 10:47:00 +01:00
Marcus Huewe
35bf60bbf0
- support %(apihost)s in the "build-root" config option
...
apihost is the hostname extracted from currently used apiurl
2011-03-15 18:45:36 +01:00
Marcus Huewe
bb02a34622
- globally catch OSError ENOENT
2011-02-01 18:25:23 +01:00
Juergen Weigert
40af804c17
No such file or directory should not trigger stack trace.
2011-02-01 15:55:43 +01:00
Marcus Huewe
61dd1613a6
Revert "[osc] add cb(pre)ignore capabilities to osc."
...
This reverts commit 68c7b57f66
.
It isn't needed because the corresponding backend part was also reverted
2011-01-30 21:31:58 +01:00
Jan-Simon Möller
e2f440fe95
Add armv7hl (hardfloat ABI) support.
...
Tested-by: Martin Mohring <martin.mohring@5edatasoft.com>
Reviewed-by: Martin Mohring <martin.mohring@5edatasoft.com>
2011-01-30 18:28:00 +01:00
Marcus Huewe
fe8febe56e
- fixed #646886 ('"osc build" when iChain is broken trashes local _buildinfo, _buildconfig')
2011-01-20 20:54:38 +01:00
Michal Marek
562c92d0d7
build: Fix for su-wrapper = su -c
...
su-wrapper = su -c has been broken since commit 5376580
. Handle this
case so that people do not have to update their configs.
Signed-off-by: Michal Marek <mmarek@suse.cz>
2011-01-02 23:43:51 +01:00
Ludwig Nussel
6cee3c99fa
fix --define
2010-12-22 08:29:08 +01:00
Ludwig Nussel
5376580652
use list instead of string for command
...
now arguments with spaces should also work
2010-12-21 14:12:14 +01:00
Ludwig Nussel
820595bb20
osc build --shell
2010-12-21 14:12:14 +01:00
Jan-Simon Möller
68c7b57f66
[osc] add cb(pre)ignore capabilities to osc.
...
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2010-09-21 11:29:18 +02:00
Marcus Huewe
5b25135dea
- enable cpio bulk download by default
...
- removed option --cpio-bulk-download
- added new option --disable-cpio-bulk-download (to disable the default cpio
bulk download)
2010-09-07 16:08:05 +02:00
root
c13fd84169
parisc should always build hppa
2010-09-06 10:40:24 +02:00
Martin Mohring
367f72f731
fixed: mips and mipsel cross build, working with QEMU
2010-08-23 07:55:16 +02:00
Marcus Huewe
286adfc927
- fixed "osc build --prefer-pkgs" for kiwi builds
2010-08-19 14:43:20 +02:00
e3828801db
Revert "set release number to zero if not specified via commandline or server otherwise"
...
doing it in build script
This reverts commit 336530b660
.
2010-08-04 17:24:06 +02:00
336530b660
set release number to zero if not specified via commandline or server otherwise
2010-08-04 17:02:25 +02:00
Ludwig Nussel
40503680c1
tweak output about used keys
2010-08-04 15:14:37 +02:00
Danny Kukawka
35536475e7
fixed 'osc buildconfig'
...
Fixed 'osc buildconfig'. Don't ask for package and arch since the
API don't allow to filter for a package or a architecture.
Remove related and useless parameter from get_buildconfig() in
core.py
2010-07-27 13:58:52 +02:00
Marcus Huewe
faad8ca0c1
- fixed import
2010-07-13 12:13:25 +02:00
Marcus Huewe
34174e301e
- removed useless continue
2010-07-13 11:37:01 +02:00
Ludwig Nussel
14d4ece2fb
allow to override apiurl for 'build'
2010-06-30 13:39:59 +02:00
Juergen Weigert
382dd29e03
Make 'trust always' more verbose, so that a user learns how to undo its effect.
...
Removed a few tabs.
2010-06-29 15:32:53 +02:00
Ludwig Nussel
5270e13baf
implicitly trust the project we are building for
2010-06-28 10:55:38 +02:00
Jan Engelhardt
6eea5f188b
Add can_also_build definitions for SPARC
...
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
2010-06-28 09:07:38 +02:00
Ludwig Nussel
377ee28887
add support for --oldpackages
2010-06-25 11:23:44 +02:00
Ludwig Nussel
c303735ab1
implement trusted projects
2010-06-23 14:47:52 +02:00
Jan-Simon Möller
4c35566e03
Add CB(pre)install hooks to osc
...
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2010-05-02 19:58:01 +02:00
Ludwig Nussel
70d772e942
save log file of vm builds
2010-04-30 15:58:31 +02:00
Ludwig Nussel
af467cea2d
allow to override vm type on command line
2010-04-30 15:58:31 +02:00
Ludwig Nussel
ae5d7795b4
use new build --vm-* options
2010-04-30 15:58:31 +02:00
d02655b026
point users to xen/kvm build enviroments instead of just warning to use osc.
2010-04-30 08:58:18 +02:00
Ludwig Nussel
367d3ce80e
auto --local-package if --alternative-project is used
2010-04-23 10:46:08 +02:00
Marcus Huewe
d2ea7472cd
- raise an appropriate exception if a package is missing and --no-init or --offline is specified
2010-04-17 15:29:03 +02:00
Jan-Simon Möller
7b5e9374d2
Add support for --preload and --offline to osc build.
...
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2010-04-17 13:07:15 +02:00
Martin Mohring
6ae10228b8
changed: cross build emulation strings in build and osc are now same
2010-04-14 13:41:37 +02:00
af52098e16
consider "lxc" a secure enviroment
2010-04-14 10:18:01 +02:00
81d329c55d
restore 0.125 behaviour again and do not verify packages,
...
if they are used in a secure VM.
2010-04-14 10:16:27 +02:00
Marcus Huewe
95ec7dee7b
- fixed #590606 ("osc/fetch.py does not support authenticated URLs")
...
bye bye urlgrabber.grabber.URLGrabber: now we're using our own "grabber" object
(OscFileGrabber()) because this way we can reuse the urllib2 handlers (the latest
python-urlgrabber version uses python-curl instead of urllib2...).
2010-04-07 03:06:03 +02:00
Ludwig Nussel
f45017a55e
don't require root for kvm
2010-03-30 14:13:44 +02:00
Ludwig Nussel
b50d73b7d0
automatic vm image setup
2010-03-30 14:13:44 +02:00
Ludwig Nussel
d2a1b2eb17
allow build-type lxc
2010-03-30 14:13:44 +02:00
Marcus Huewe
ea3e5d20bf
- small fixes
2010-03-28 22:23:40 +02:00
Jan-Simon Möller
35d0652d21
Add VM diskimage autosetup hooks to osc.
...
Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2010-03-28 21:13:04 +02:00
Martin Mohring
f37dfd6e8c
added support for arm architure strings from armv4 to armv8
...
Signed-off-by: Martin Mohring <martinmohring@linuxfoundation.org>
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
2010-03-28 21:10:14 +02:00
Marcus Huewe
af273d0bdb
- fixed #590611 ("'osc build' uses incorrect filename for debian debs")
2010-03-24 13:20:09 +01:00
Marcus Huewe
af5d75e4ef
- always prefer apiurl from storedir
2010-03-23 10:04:01 +01:00
Juergen Weigert
a92a63ad4d
helpful messages about non-existing remote packages never made it to the
...
user, as meta_exists() died with a shorter message earler.
2010-03-07 23:07:03 +01:00
Pavol Rusnak
8d551e0a69
fix whitespace
2010-02-28 02:30:13 +01:00
Pavol Rusnak
90c4358da2
treat pylint warnings
2010-02-27 20:11:15 +01:00
Ludwig Nussel
32e99306b4
add vim mode lines to avoid evil tab characters :-)
2010-02-25 09:53:45 +01:00
Marcus Huewe
f16cc7e667
- convert tabs to spaces...
2010-02-24 20:02:52 +01:00
Ludwig Nussel
99d3147519
stub for implementing trusted projects
2010-02-24 14:09:49 +01:00
Ludwig Nussel
8fb9669ae4
verify files using rpm bindings and keys supplied by buildservice
...
The build service is not ready for that yet. Almost all projects
that are not built but only imported to the build service have wrong
keys. To enable the new code set builtin_signature_check in .oscrc. You
may need to manually overwrite wrong _pubkey files in the
packagecachedir with correct keys until the build service is fixed.
2010-02-24 14:07:33 +01:00
David Greaves
d95ae68724
Added '--build-uid uid:gid|caller' feature to specify abuild id in chroot
2010-02-22 18:45:24 +00:00
Marcus Huewe
a8d8565442
- fixed download from apiurl
2010-02-18 20:16:23 +01:00
Marcus Huewe
f59372c96e
- fixed check (caused by 8670d82fad
)
2010-02-18 18:57:11 +01:00
Jan-Simon Möller
5a9de36e9e
Fix the test for icecream. 'num' is type <str> and evaluation failed.
2010-02-18 18:49:22 +01:00
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
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
Ludwig Nussel
299b969324
install gcc-c++ when using icecream (bnc#493550)
2009-04-14 11:33:50 +00:00
Ludwig Nussel
28fa87078d
re-add support for urllist config option for compatability
2009-04-14 11:33:45 +00:00
Marcus Hüwe
9ff9a1f151
- fixed #487400 : --disable-debuginfo will create no debuginfo packages and --debuginfo will create them. Both override the debuginfo element from the buildinfo
2009-03-31 11:45:30 +00:00
Michael Schröder
b03614dff2
- provide extproject/extrepository reflecting the rexternal tree layout
...
(i.e. ':' replaced with ':/')
2009-03-13 15:58:55 +00:00
Olaf Kirch
88c5710757
- reverted previous fix, was broken
2009-03-12 16:35:40 +00:00
Olaf Kirch
98d7a04b97
- osc build: properly evaluate debuginfo status in Buildinfo
2009-03-12 16:24:53 +00:00
Marcus Hüwe
296f274f67
- fixed #481208 ('osc build --local-package is completely ineffective')
2009-03-08 23:43:26 +00:00
Dr. Peter Poeml
be4f2b031f
Putting names at the top of files is is not recommended. Collective wisdom for
...
fostering open source contributions says that it can discourage contribution by
conveying a false sense of "code ownership". Marking territory is negatively
affecting collaboration. See http://www.youtube.com/watch?v=ZSFDm3UYkeE
2009-03-02 14:03:06 +00:00
Marcus Hüwe
9935faf3ba
- yet another fix for #477690 : build: use a cookie when fetching the binaries
2009-02-28 15:56:32 +00:00
Marcus Hüwe
caae2bc8a1
- cleaned up the conf module (I hope I didn't break anything):
...
* basically get rid of the scheme and apisrv mess - instead directly use the apiurl (== <protocol>://<host>) for everything
* some other minor cleanups here and there
* everyone who has a scheme or apisrv entry in his ~/.oscrc will get a deprecation warning but it's still working (at some point in the future we might remove these code paths)
* when writing a new ~/.oscrc store the apiurl in the conffile [fixes #478054 ]
- while being at it:
* fixed #478054 ("osc asks for build.o.o credential even if -A<somelocalapi> is always used")
* fixed #478052 ("osc backtrace on password entry (first startup)")
2009-02-23 23:29:32 +00:00
7a9970473f
import a fix from mls for getting product builds working.
...
(Adapted to my changes from an hour ago)
2009-02-20 15:01:16 +00:00
7ced81880e
do really skip package verification when building within a VM
2009-02-20 14:03:19 +00:00
60f8d9543b
take care about server side configured vminstall packages
2009-02-20 13:45:00 +00:00
4369deaf10
* add support for VM (kvm or xen) builds
...
* update NEWS file
2009-02-20 12:49:17 +00:00
c6f70d7506
remove hardcoded download server and use download server as reported by
...
the rep server.
This is fixing all non-opensuse.org build service instances.
2009-02-20 09:36:20 +00:00
7589a20da7
revert last change. We must not build for local, but for a real arch.
...
While kiwi runs architecture neutral in product mode, we do still need
dependency calculation for setting up the kiwi runtime enviroment.
2009-02-06 04:30:21 +00:00
cbdbb9516c
add local architecture to enable product building
2009-02-06 03:25:08 +00:00
Marcus Hüwe
ee64ab6954
- added support for format strings like "%(project)s" and "%(package)s" which can be used in the build-root config option.
...
For example one could use a new chroot for each package.
2009-01-09 16:12:45 +00:00
Marcus Hüwe
8092b317ed
- removed unused varialbe
2008-12-11 12:17:26 +00:00
Ludwig Nussel
e33b48f5b0
add support for more build options
...
--icecream
--ccache
--with
--without
2008-12-11 11:36:07 +00:00
Marcus Hüwe
eb96e53784
- small fix in debuginfo handling (accidentally used a string in a bool expression...)
2008-12-10 22:38:00 +00:00
Martin Mohring
61cc90b31b
- added: new armv7el arch for all binaries for up to ARMv7 EABI with VFP
2008-12-05 21:45:11 +00:00
Marcus Hüwe
c1b99b041f
- fixed importsrcpkg doc
...
- osc build: if --keep-pkgs is used also save the src.rpm
2008-11-29 13:32:25 +00:00
Marcus Hüwe
7172db474e
- osc build:
...
* some cleanups in the crossbuild part
* call the build script with the --arch parameter
2008-11-28 19:37:55 +00:00
Martin Mohring
61740adee9
- added: missing last parts of Cross Development support
...
* although other targets do work, only activated arm and sh4 targets for Cross Build
* powerpc could also be used for Cross Build, but uses Native Build atm
* thes limited switching on of Cross Build is due to a new interface for workers that will handle workers with *super capabilites* in the future.
* then you can configure Cross Build at configure/runtime, not by changing the code
2008-11-22 16:38:40 +00:00
Dr. Peter Poeml
8383e9e895
osc build:
...
* rework buildinfo parser.
* handle new (or rather, future) attributes
named noinstall, package (we call it repopackage), repoarch.
* handle kiwi builds.
The urllist template (for constructing download URLs) was changed to
make the '_repository' part variable.
2008-11-22 10:55:33 +00:00
Martin Mohring
9db331184b
- added: support for ARMv5 EABI little endian arch
2008-11-17 01:03:49 +00:00
Dr. Peter Poeml
6e65c8d7cb
osc/fetch.py: execute processes avoiding the use of a shell
2008-11-14 22:32:39 +00:00