Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bin/build-rpm-package: more curly braces! | Mihai Moldovan | 2015-04-02 | 1 | -1/+1 | |
| | ||||||
* | bin/build-rpm-package: make OLDIFS variable local. | Mihai Moldovan | 2015-04-02 | 1 | -1/+1 | |
| | ||||||
* | bin/build-rpm-package: fix parse error. | Mihai Moldovan | 2015-04-02 | 1 | -1/+6 | |
| | ||||||
* | bin/build-rpm-package: use more curly braces. | Mihai Moldovan | 2015-04-02 | 1 | -3/+2 | |
| | ||||||
* | bin/build-rpm-package: use make_boolean more often, use more quoting. | Mihai Moldovan | 2015-04-02 | 1 | -3/+5 | |
| | ||||||
* | bin/{build-{all-deb-packages,deb-package,nsis-package.sh},signtarballs,updat ↵ | Mihai Moldovan | 2015-04-01 | 6 | -9/+9 | |
| | | | | ebuild{main,release}}: don't use a negative exit status. It was a bad idea to begin with. | |||||
* | bin/build-{deb,nsis,rpm}-package: quote $@ variable to pass all arguments ↵ | Mihai Moldovan | 2015-04-01 | 3 | -3/+3 | |
| | | | | correctly to set_vars. | |||||
* | bin/build-rpm-package: change -1 return codes to 1. | Mihai Moldovan | 2015-04-01 | 1 | -20/+20 | |
| | ||||||
* | bin/build-rpm-package: remove stupid sedism. | Mihai Moldovan | 2015-04-01 | 1 | -2/+2 | |
| | ||||||
* | bin/build-rpm-package: force-enable repositories. | Mihai Moldovan | 2015-04-01 | 1 | -0/+5 | |
| | ||||||
* | bin/build-rpm-package: fix gpgcheck regex. | Mihai Moldovan | 2015-04-01 | 1 | -1/+1 | |
| | ||||||
* | bin/build-rpm-package: only create a new temporary mock config directory if ↵ | Mihai Moldovan | 2015-04-01 | 1 | -6/+9 | |
| | | | | not already existing. Fix replacement of releasever. | |||||
* | bin/build-rpm-package: replace $releasever with a constant value and force ↵ | Mihai Moldovan | 2015-04-01 | 1 | -3/+20 | |
| | | | | gpgcheck to 0. | |||||
* | bin/build-rpm-package: add successful return statement in function missing them. | Mihai Moldovan | 2015-04-01 | 1 | -0/+9 | |
| | ||||||
* | bin/build-rpm-package: make get_extra_repository() edit OTHERMIRROR or ↵ | Mihai Moldovan | 2015-04-01 | 1 | -16/+16 | |
| | | | | MOCK_CHROOT_CONFIG directly. Do not call it in a subshell. It needs to modify global variables. | |||||
* | bin/build-rpm-package: do not use create_mock_config() in a subshell. It ↵ | Mihai Moldovan | 2015-04-01 | 1 | -8/+6 | |
| | | | | needs to edit variables in global scope. | |||||
* | bin/build-rpm-package: also pass through the line when detecting the start ↵ | Mihai Moldovan | 2015-04-01 | 1 | -1/+4 | |
| | | | | of yum config file. | |||||
* | bin/build-rpm-package: a typo'd regex character class is unlikely to match | Mihai Moldovan | 2015-04-01 | 1 | -1/+1 | |
| | ||||||
* | bin/build-rpm-package: append .cfg extension to MOCK_BASE if necessary. | Mihai Moldovan | 2015-04-01 | 1 | -2/+9 | |
| | | | | | Remove it inline and non-destructively when building temporary mock config file name. | |||||
* | bin/build-rpm-package: disallow hyphens again. Bad idea for greedy regexes, ↵ | Mihai Moldovan | 2015-04-01 | 1 | -1/+1 | |
| | | | | especially when hyphens are used as field separators. | |||||
* | bin/build-rpm-package: additionally allow underscore and hyphen characters ↵ | Mihai Moldovan | 2015-04-01 | 1 | -2/+2 | |
| | | | | | | in a mock base config file name definition. Also fix up a non-literal parsed period. | |||||
* | home/.buildscripts/x2go.conf: remove unused variable ↵ | Mihai Moldovan | 2015-04-01 | 1 | -1/+0 | |
| | | | | RPM_EXTRA_REPO_MOCK_CONFIG_FULL_NAME. | |||||
* | bin/build-rpm-package: ignore errors when removing temporary mock config ↵ | Mihai Moldovan | 2015-04-01 | 1 | -1/+2 | |
| | | | | files in cleanup(). | |||||
* | bin/build-rpm-package: add ERR trap handler. This script is executed with ↵ | Mihai Moldovan | 2015-04-01 | 1 | -1/+1 | |
| | | | | set -e and cleanup not used if any command errors otherwise. | |||||
* | bin/build-rpm-package: cleanup cleanup(). | Mihai Moldovan | 2015-04-01 | 1 | -22/+18 | |
| | ||||||
* | bin/build-rpm-package: comment changes only. Typo fix. | Mihai Moldovan | 2015-04-01 | 1 | -2/+2 | |
| | ||||||
* | bin/build-rpm-package: move ${TEMP_BASE} into "global scope" to have it ↵ | Mihai Moldovan | 2015-04-01 | 1 | -4/+3 | |
| | | | | always defined. | |||||
* | bin/build-rpm-package: rewrite the mock part of get_extra_repository() to ↵ | Mihai Moldovan | 2015-04-01 | 1 | -35/+23 | |
| | | | | use create_mock_config(). | |||||
* | bin/build-rpm-package: respect WANT_EXTRA parameter in ↵ | Mihai Moldovan | 2015-04-01 | 1 | -4/+7 | |
| | | | | get_extra_repository() for OBS builds. | |||||
* | bin/build-rpm-package: use RPM_WANT_EXTRA_REPOS when calling ↵ | Mihai Moldovan | 2015-04-01 | 1 | -5/+5 | |
| | | | | get_extra_repository(). | |||||
* | {bin/build-rpm-package,home/.buildscripts/x2go.conf}: add new parameter ↵ | Mihai Moldovan | 2015-04-01 | 2 | -0/+10 | |
| | | | | | | | RPM_WANT_EXTRA_REPOS, set for X2Go projects but otherwise default to 0. Add description of what get_extra_repository() does and what parameters it accepts. Add new optional parameter WANT_EXTRA, defaulting to false. | |||||
* | bin/build-rpm-package: add make_boolean() function to convert a semi-random ↵ | Mihai Moldovan | 2015-04-01 | 1 | -0/+12 | |
| | | | | | | string into boolean 0 or 1. Shameless copy from maintenancescripts. Add FIXME to remember to outsource this some sunny day. | |||||
* | bin/build-rpm-package: set RPM_MOCK_CONFIG_DIR to a sane value (/etc/mock) ↵ | Mihai Moldovan | 2015-04-01 | 1 | -1/+1 | |
| | | | | for all projects. | |||||
* | bin/build-rpm-package: lose parameter CUSTOM_REPO to create_mock_config(). ↵ | Mihai Moldovan | 2015-04-01 | 2 | -21/+22 | |
| | | | | | | It is implicit. Change RPM_MOCK_CONFIG_DIR to /etc/mock and use in create_mock_config(). | |||||
* | bin/build-rpm-package: rename RPM_EXTRA_REPO_MOCK_CONFIG_BASE_NAME to ↵ | Mihai Moldovan | 2015-04-01 | 2 | -8/+8 | |
| | | | | RPM_EXTRA_REPO_MOCK_CONFIG_BASE. | |||||
* | bin/build-rpm-package: write out end of yum configuration marker, reset IFS ↵ | Mihai Moldovan | 2015-04-01 | 1 | -0/+8 | |
| | | | | to old value and return temporary file path as promised. | |||||
* | bin/build-rpm-package: add the repos and do pass-through correctly. | Mihai Moldovan | 2015-04-01 | 1 | -1/+17 | |
| | ||||||
* | bin/build-rpm-package: add (incomplete) attempt at parsing the base mock ↵ | Mihai Moldovan | 2015-04-01 | 1 | -0/+14 | |
| | | | | config file. | |||||
* | bin/build-rpm-package: use single quotes where more appropriate for regex ↵ | Mihai Moldovan | 2015-04-01 | 1 | -4/+4 | |
| | | | | variables, escape single dollar sign in double quoted regex variable strings. | |||||
* | bin/build-rpm-package: populate arrays with data read from .repo files. | Mihai Moldovan | 2015-04-01 | 1 | -2/+23 | |
| | ||||||
* | bin/build-rpm-package: save old input field separator value and re-set to ↵ | Mihai Moldovan | 2015-04-01 | 1 | -0/+4 | |
| | | | | newline only. | |||||
* | bin/build-rpm-package: add some boilerplate code for reading in config files. | Mihai Moldovan | 2015-04-01 | 1 | -0/+12 | |
| | ||||||
* | bin/build-rpm-package: rename main => release and heuler => nightly in ↵ | Mihai Moldovan | 2015-04-01 | 1 | -0/+7 | |
| | | | | create_mock_config(). This is what the x2go.repo files do and codenames are weird anyway... | |||||
* | bin/build-rpm-package: check MOCK_BASE parameter for validity via RegEx. | Mihai Moldovan | 2015-04-01 | 1 | -0/+10 | |
| | | | | Additionally, pull out the distro name. We will need it later on. | |||||
* | bin/build-rpm-package: base mock config base shall better be readable, OR ELSE! | Mihai Moldovan | 2015-04-01 | 1 | -3/+3 | |
| | ||||||
* | bin/build-rpm-package: finally create the temporary dir and file. | Mihai Moldovan | 2015-04-01 | 1 | -0/+13 | |
| | ||||||
* | bin/build-rpm-package: add cleanup() function and signal handlers. | Mihai Moldovan | 2015-04-01 | 1 | -0/+51 | |
| | ||||||
* | bin/build-rpm-package: make repeat_str() actually terminate. | Mihai Moldovan | 2015-04-01 | 1 | -0/+1 | |
| | ||||||
* | bin/build-rpm-package: make repeat_str() function declaration consistent. | Mihai Moldovan | 2015-04-01 | 1 | -1/+1 | |
| | ||||||
* | bin/build-rpm-package: add the easy part of create_mock_config(). | Mihai Moldovan | 2015-04-01 | 1 | -0/+39 | |
| |