Commit Graph

386 Commits

Author SHA1 Message Date
gsell 0dff5d5877 Merge branch '71-modbuild-rmdir-on-macos-doesn-t-support-ignore-fail-on-non-empty-option' into 'master'
Resolve "modbuild: rmdir on macOS doesn't support --ignore-fail-on-non-empty option"

Closes #71

See merge request Pmodules/src!36
2019-09-04 15:34:25 +02:00
gsell 22ee989ad2 modbuild: rmdir on macOS doesn't support --ignore-fail-on-non-empty option fixed 2019-09-04 15:34:10 +02:00
gsell bbb798af91 Merge branch '70-prefix-should-not-end-with-a-trailing-slash' into 'master'
Resolve "PREFIX should not end with a trailing slash"

Closes #70

See merge request Pmodules/src!35
2019-09-04 15:28:57 +02:00
gsell a32070a658 modbuild: slash removed from PREFIX 2019-09-04 15:27:24 +02:00
gsell 5032437cd1 Merge branch '69-bugfix-in-finding-variants-files' into 'master'
Resolve "bugfix in finding variants files"

Closes #69

See merge request Pmodules/src!34
2019-09-04 14:41:40 +02:00
gsell de95904aad bugfix in finding variants files with two dots 2019-09-04 14:41:31 +02:00
gsell 155e50b5ff Merge branch '68-add-module-use-system' into 'master'
Resolve "add 'module use System'"

Closes #68

See merge request Pmodules/src!33
2019-08-22 16:40:30 +02:00
gsell 1dc54d0264 use System group in build environment 2019-08-22 16:40:25 +02:00
gsell 87154995c3 Merge branch '67-fix-missing-quote-in-libpbuild-bash' into 'master'
Resolve "fix missing quote in libpbuild.bash"

Closes #67

See merge request Pmodules/src!32
2019-08-21 13:21:41 +02:00
gsell a2d9f6a665 missing quote in libpbuild.bash fixed 2019-08-21 13:21:20 +02:00
gsell 24424304d4 Merge branch '65-function-to-make-a-target-cannot-be-called-in-a-pipe' into 'master'
Resolve "function to make a target cannot be called in a pipe"

Closes #65

See merge request Pmodules/src!30
2019-08-20 16:59:21 +02:00
gsell b706e1002b do not use functions in pipes 2019-08-20 16:58:58 +02:00
gsell 4ff7aedbfb Merge branch '66-variables-like-c_include_path-must-be-unset-before-loading-the-dependent-modules' into 'master'
Resolve "variables like `C_INCLUDE_PATH` must be unset before loading the dependent modules"

Closes #66

See merge request Pmodules/src!31
2019-08-20 16:54:19 +02:00
gsell c89c2c4238 unsetting variables like C_INCLUDE_PATH before loading dependencies 2019-08-20 14:33:54 +02:00
gsell 6a26ebdd96 Merge branch '64-build-does-not-exit-on-error-in-a-target' into 'master'
Resolve "build does not exit on error in a target"

Closes #64

See merge request Pmodules/src!29
2019-08-16 15:27:33 +02:00
gsell b2f2ebe061 abort build on error in a target 2019-08-16 15:27:03 +02:00
gsell 88f177c4c0 Merge branch '63-post_install_linux-not-called' into 'master'
Resolve "'post_install_linux()' not called"

Closes #63

See merge request Pmodules/src!28
2019-08-09 17:33:03 +02:00
gsell 695fe498b4 fix not called 'post_install_linux()' 2019-08-09 17:32:46 +02:00
gsell f8f0fb5e46 Merge branch '62-runtime-dependencies-must-be-loaded-before-sourcing-the-build-script' into 'master'
Resolve "runtime dependencies must be loaded before sourcing the build-script"

Closes #62

See merge request Pmodules/src!27
2019-08-09 16:52:45 +02:00
gsell 47723622cb load runtime dependencies before sourcing the build-script 2019-08-09 16:51:53 +02:00
gsell 44471c59da Merge branch '61-do-not-use-declare-in-functions' into 'master'
Resolve "do not use declare in functions"

Closes #61

See merge request Pmodules/src!26
2019-07-25 11:10:06 +02:00
gsell f5dd0aa60a modbuild.in: debug echo statement removed 2019-07-25 11:09:37 +02:00
gsell 98fac76798 libpbuild.bash: do not use declare for global variables inside functions. 2019-07-25 11:09:10 +02:00
gsell c0d4304f29 Merge branch '60-libpbuild-bash-bash-on-rhel-sl6-does-not-support-option-g-in-declare' into 'master'
Resolve "libpbuild.bash: bash on RHEL/SL6 does not support option -g in declare"

Closes #60

See merge request Pmodules/src!25
2019-07-24 17:35:37 +02:00
gsell a1697cd0c5 libpbuild: option -g is not supported in declare on RHEL/SL 6 2019-07-24 17:34:40 +02:00
gsell 5b14480d0c Merge branch '59-determine-os-release-is-broken-on-linux' into 'master'
Resolve "determine OS release is broken on Linux"

Closes #59

See merge request Pmodules/src!24
2019-07-24 17:30:47 +02:00
gsell 7df9fe7111 libstd.bash: list of possible OS ID's reviewed 2019-07-24 17:26:37 +02:00
gsell c4a7c48dd9 libstd.bash: fix issue in getting OS release
- try to get the OS release via lsb_release first
- then via /etc/os-release
- abort if both fail
2019-07-24 16:51:20 +02:00
gsell c6f90a571e Merge branch 'fixes-for-issues-56-57-58' into 'master'
Fixes for issues 56, 57 and 58

Closes #58, #57, and #56

See merge request Pmodules/src!23
2019-07-23 17:53:09 +02:00
gsell 38a09a8ba3 fixes for issues #57 and #58
- fixes building dependencies on macOS (#57)
- fixes errors in parsing arguments (#58)
2019-07-23 17:49:54 +02:00
gsell 85fc352f10 libstd.bash: setting of unused variable OS removed 2019-07-23 17:48:11 +02:00
gsell 52648a3274 libpbuild: missing targets added (#56) 2019-07-23 17:47:31 +02:00
gsell 453822cbd0 Merge branch 'fixes-for-issues-52-55' into 'master'
fixes for isses 52 to 55

Closes #55, #54, #53, and #52

See merge request Pmodules/src!22
2019-07-23 17:24:30 +02:00
gsell 74db99c87e fixes for isses 52 to 55
- ignore multiple load commands (#52)
- do not print empty line if output to stderr is empty (#53)
- loading dependencies review (#54)
- rescan group in 'use' sub-command if newly created group is requested
2019-07-23 17:20:09 +02:00
gsell e09e89080b Merge branch '51-option-system-is-broken' into 'master'
Resolve "option --system is broken"

Closes #51

See merge request Pmodules/src!21
2019-07-19 17:18:45 +02:00
gsell 58359b837e review 'system' feature
- 'system' and 'OS' have different meaning now
  'system' defaults to a string derived from the Linux distribution
  (like rhel7) or on Mac to the macOS version (like macOS10.14)
- OS is equivalent to the output of 'uname -s'
- move dynamically created functions to new library libpbuild_dyn.bash
- do not set defaults in libpbuild.bash
- use the string returned by std::get_os_release() as system string
  if not passed as argument
-
2019-07-19 17:17:23 +02:00
gsell fb28efc834 function to get OS releases for Linux and macOS added to libstd 2019-07-19 17:01:15 +02:00
gsell eb488b2274 options for help command fixed 2019-07-11 17:55:42 +02:00
gsell 44da0d0391 Merge branch '50-bug-in-subcommand-load-text-which-should-be-displayed-on-the-terminal-must-be-redirected-to-stderr' into 'master'
Resolve "bug in subcommand load: text which should be displayed on the terminal must be redirected to stderr"

Closes #50

See merge request Pmodules/src!20
2019-07-10 17:36:27 +02:00
gsell 7e10814469 echo text to stderr in subcommand load 2019-07-10 17:35:56 +02:00
gsell b9ab9e7eba Merge branch '49-do-not-print-module-use-group-as-hint-for-hierarchical-groups' into 'master'
Resolve "do not print 'module use GROUP' as hint for hierarchical groups"

Closes #49

See merge request Pmodules/src!19
2019-06-17 17:39:33 +02:00
gsell 0bf87e3e66 do not output hierarchical groups as hint 2019-06-17 17:39:27 +02:00
gsell 6d4374951b Merge branch '48-output-group-in-load-hints' into 'master'
Resolve "output group in load hints"

Closes #48

See merge request Pmodules/src!18
2019-06-11 16:11:25 +02:00
gsell 04eea80f35 output group in load hints, if the user has to 'load' this group first 2019-06-11 16:11:15 +02:00
gsell bae1da6207 Merge branch '46-unpack-source-in-non-default-directory' into 'master'
Resolve "unpack source in non-default directory"

Closes #46

See merge request Pmodules/src!17
2019-05-29 17:25:58 +02:00
gsell 0cf32137b5 sources can be unpacked in user defined directories
- requires BASH >= 4 (associative arrays)
- pbuild::set_unpack_dir() added
- required changes to pbuild::prep() implemented
2019-05-29 17:25:57 +02:00
gsell 5997a64bef Merge branch '45-run-modbuild-with-bash-version-4' into 'master'
Resolve "run modbuild with bash version >= 4"

Closes #45

See merge request Pmodules/src!16
2019-05-29 17:16:53 +02:00
gsell c831cfbd36 call modbuild via /usr/bin/env in shebang, handle '--' argument 2019-05-29 17:14:48 +02:00
gsell 83fbc155dc Merge branch '43-in-modbuild-we-need-to-source-libpbuild-before-parsing-the-argument' into 'master'
Resolve "in modbuild we need to source libpbuild before parsing the arguments"

Closes #43

See merge request Pmodules/src!14
2019-05-27 17:53:22 +02:00
gsell 0b03915e39 source libpbuild before parsing the arguments 2019-05-27 17:50:14 +02:00