summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
...
* bin/build-rpm-package: disallow hyphens again. Bad idea for greedy regexes, ↵Mihai Moldovan2015-04-011-1/+1
| | | | especially when hyphens are used as field separators.
* bin/build-rpm-package: additionally allow underscore and hyphen characters ↵Mihai Moldovan2015-04-011-2/+2
| | | | | | in a mock base config file name definition. Also fix up a non-literal parsed period.
* bin/build-rpm-package: ignore errors when removing temporary mock config ↵Mihai Moldovan2015-04-011-1/+2
| | | | files in cleanup().
* bin/build-rpm-package: add ERR trap handler. This script is executed with ↵Mihai Moldovan2015-04-011-1/+1
| | | | set -e and cleanup not used if any command errors otherwise.
* bin/build-rpm-package: cleanup cleanup().Mihai Moldovan2015-04-011-22/+18
|
* bin/build-rpm-package: comment changes only. Typo fix.Mihai Moldovan2015-04-011-2/+2
|
* bin/build-rpm-package: move ${TEMP_BASE} into "global scope" to have it ↵Mihai Moldovan2015-04-011-4/+3
| | | | always defined.
* bin/build-rpm-package: rewrite the mock part of get_extra_repository() to ↵Mihai Moldovan2015-04-011-35/+23
| | | | use create_mock_config().
* bin/build-rpm-package: respect WANT_EXTRA parameter in ↵Mihai Moldovan2015-04-011-4/+7
| | | | get_extra_repository() for OBS builds.
* bin/build-rpm-package: use RPM_WANT_EXTRA_REPOS when calling ↵Mihai Moldovan2015-04-011-5/+5
| | | | get_extra_repository().
* {bin/build-rpm-package,home/.buildscripts/x2go.conf}: add new parameter ↵Mihai Moldovan2015-04-011-0/+9
| | | | | | | 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 Moldovan2015-04-011-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 Moldovan2015-04-011-1/+1
| | | | for all projects.
* bin/build-rpm-package: lose parameter CUSTOM_REPO to create_mock_config(). ↵Mihai Moldovan2015-04-011-20/+21
| | | | | | 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 Moldovan2015-04-011-7/+7
| | | | RPM_EXTRA_REPO_MOCK_CONFIG_BASE.
* bin/build-rpm-package: write out end of yum configuration marker, reset IFS ↵Mihai Moldovan2015-04-011-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 Moldovan2015-04-011-1/+17
|
* bin/build-rpm-package: add (incomplete) attempt at parsing the base mock ↵Mihai Moldovan2015-04-011-0/+14
| | | | config file.
* bin/build-rpm-package: use single quotes where more appropriate for regex ↵Mihai Moldovan2015-04-011-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 Moldovan2015-04-011-2/+23
|
* bin/build-rpm-package: save old input field separator value and re-set to ↵Mihai Moldovan2015-04-011-0/+4
| | | | newline only.
* bin/build-rpm-package: add some boilerplate code for reading in config files.Mihai Moldovan2015-04-011-0/+12
|
* bin/build-rpm-package: rename main => release and heuler => nightly in ↵Mihai Moldovan2015-04-011-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 Moldovan2015-04-011-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 Moldovan2015-04-011-3/+3
|
* bin/build-rpm-package: finally create the temporary dir and file.Mihai Moldovan2015-04-011-0/+13
|
* bin/build-rpm-package: add cleanup() function and signal handlers.Mihai Moldovan2015-04-011-0/+51
|
* bin/build-rpm-package: make repeat_str() actually terminate.Mihai Moldovan2015-04-011-0/+1
|
* bin/build-rpm-package: make repeat_str() function declaration consistent.Mihai Moldovan2015-04-011-1/+1
|
* bin/build-rpm-package: add the easy part of create_mock_config().Mihai Moldovan2015-04-011-0/+39
|
* bin/build-rpm-package: add repeat_str() function to... repeat a string.Mihai Moldovan2015-04-011-0/+14
|
* bin/build-rpm-package: fix --repo order in obs-build call.Mihai Moldovan2015-03-251-2/+2
|
* bin/build-rpm/package: remove extraneous extras package repository from suse ↵Mihai Moldovan2015-03-241-3/+2
| | | | builds, remove ${ARCH} from extra repo wrapper and make note to some day make the layout consistent with the main repos.
* bin/build-rpm-package: missed space messing up mock return value.Mihai Moldovan2015-03-241-1/+1
|
* bin/build-rpm-package: TYPESET ALL THE THINGS! To make them local to the ↵Mihai Moldovan2015-03-241-20/+20
| | | | function.
* bin/build-rpm-package: the semantics of MOCK_VER being set/unset changed in ↵Mihai Moldovan2015-03-241-1/+1
| | | | my head while writing code, but the spelled out check didn't...
* bin/build-rpm-package: work around buggy mock versions.Mihai Moldovan2015-03-241-3/+13
|
* bin/build-rpm-package: add period to error sentences.Mihai Moldovan2015-03-241-5/+5
|
* bin/build-rpm-package: add mock version checking function.Mihai Moldovan2015-03-241-0/+62
|
* bin/build-rpm-package: fix typos.Mihai Moldovan2015-03-231-4/+4
|
* bin/build-rpm-package: add comment to remind to autogenerate mock files.Mihai Moldovan2015-03-231-0/+2
|
* bin/build-rpm-package: add component, as we want to pull in repositories for ↵Mihai Moldovan2015-03-231-4/+4
| | | | specific package categoeries (main, nightly, LTS).
* bin/build-rpm-package: add support for fetching extra repositories. Use ↵Mihai Moldovan2015-03-231-12/+83
| | | | RPM_MOCK_CONFIG_DIR, RPM_EXTRA_REPO_MOCK_CONFIG_BASE_NAME and RPM_EXTRA_REPO_MOCK_CONFIG_FULL_NAME in the project buildscripts config to set the necessary values.
* bin/gitcreate: use new scripts for creating the git repository.Mihai Moldovan2015-03-091-2/+2
|
* build-nsis-package.sh: don't preserve ownership for debian/changelog file ↵Mihai Moldovan2015-03-071-1/+1
| | | | (fails on shared directories.)
* Clean up source RPM files from binary file places.Mihai Moldovan2015-03-061-4/+11
|
* generate-nsis-version.pl: open the correct version file.Mihai Moldovan2015-03-061-1/+1
|
* build-nsis-package.sh, nsis-builder.bat: make compatible with x2goclient's ↵Mihai Moldovan2015-03-052-6/+8
| | | | cleanup branch.
* bin/gitcreate: use more quotes, curly braces and $(). Fix erratic jumping ↵Mihai Moldovan2015-02-241-20/+38
| | | | out of cwd. Require the new git directory to already be in cwd, or it being the cwd for successful creation.
* [TESTCOMMIT] bin/gitcreate: remove trainling whitespace.Mihai Moldovan2015-02-241-1/+1
|