ba314df490
python-tools.mk: Fix __init__.py generation
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-07-25 15:05:21 +00:00
55f9b50562
py-defs.mk, py-mod.mk, python-tools.sh: Improve python module handling
...
- Fix superflous dots in module names
- Generate PYTHONPATH in projects.py
- Add support for __init__.py.tmpl
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-07-24 10:59:08 +00:00
3ec49304a1
projects.py: Add support for command pythonpath
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-07-24 10:56:51 +00:00
82c41cd68d
jw-build-create-project.sh: Fix typo
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-07-22 18:16:58 +00:00
4827389e26
projects.py pkg-requires: Add options to query naked projects list
...
- Remove --vendor (-V), was dysfunctional, anyway
- Add options to strip the results:
--subsections (-S)
--delimiter (-d)
--no-subpackages (-p)
--no-version
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-07-22 18:12:36 +00:00
9505e9ab40
python-tools.sh: Add python-tools.sh
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-07-22 14:33:36 +00:00
d296839c2c
pkg.sh log-install -W: Make python wrapper around python scripts
...
Otherwise calls with /usr/bin/python /opt/package/bin/myscript.py fail with
syntax error.
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-07-21 15:29:52 +00:00
a4ef394a95
pkg.sh: Add option -W to log-install
...
This is like log-install -W, except that it installs a wrapper
script instead of a link for executables
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-07-19 11:30:08 +00:00
11770d4cc3
projects.py: Check flavours build + devel in exepath command
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-07-09 23:17:23 +00:00
657d306bed
projects.py: Add command getval
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-07-04 17:58:14 +00:00
3082150b05
pkg.sh Fix: Overwrote LAST_RPM_VERSION entirely
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-29 21:24:32 +00:00
4a93754435
jw-build-create-project.sh: Add .gdb_history to .gitignore
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-29 19:56:20 +00:00
79278ea8bd
defs.mk, projects.py: Fix PREREQ_BUILD ignored in LIBFLAGS
...
PREREQ_BUILD doesn\'t make it into linker flags. This patch hopefully
fixes that.
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-29 19:46:07 +00:00
7efb9bd768
pkg.sh: Don't try to upload non-existing devel package
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-28 14:30:37 +00:00
a232b4bffd
build.py: Beautify logging
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-28 12:28:59 +00:00
91fca8e791
pkg-manager.sh: Add -y support to command refresh
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-28 09:27:11 +00:00
37dbe0a32f
pkg-manager.sh: Circumvent more checks for install -y
...
zypper --non-interactive --gpg-auto-import-keys in --force-resolution --auto-agree-with-licenses
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-28 08:54:19 +00:00
2a99c05991
build.py: Use all prerequisite types for pkg-* targets
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-27 21:43:30 +00:00
c42e386c76
doc, make, scripts: Add support for [pkg.conflicts.xxx]
...
Since the packaging machinery is pretty complicated, the information about
conflicting packages had to be passed through many APIs. The last commit
contained a patch which is left in the tree to have it in one file, it actually
is identical to this commit's diff, though. Git would save me that quirk.
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-26 10:34:22 +00:00
b35a50944c
project.conf, topdir.mk, projects.py: Replace pkg.required.xxx by pkg.requires.xxx
...
This opens up a more concise handling of pkg.conflicts.xxx in the future, and
prepares some code simplification in projects.py.
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-26 09:33:53 +00:00
eaa8ec9976
purge-stale-projects.sh: Remove project from CVS directory if present
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-25 18:10:35 +00:00
94e7bff14e
create-mkspec.sh: Add missing stage pre to create-mkspec.sh
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-25 17:16:24 +00:00
dd878bd629
Fix: Default package template was created with wrong fullname
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-25 16:26:47 +00:00
14e76bbddd
scm.sh: Add cmd_clean to scm.sh
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-24 12:59:10 +00:00
a5e00ecaa4
projects.py: Add command os-cascade
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-23 18:09:59 +00:00
056558bb27
build.py: Fix dependency tree for multiple prerequisite types
...
build.py calculated a wrong build order because it doesn\'t take all build
prerequisite types correctly into account. Fixed that. Implemented the option
--dry-run along the way.
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-19 21:10:35 +00:00
b3f12a6c35
pgit.sh: Add support for defining pdir and pdirs in the environment
...
TODO: These variables seem a bit short for the environment
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-17 09:16:44 +00:00
3fbb704dae
projects.py fix: --flavours arguments mutilated
...
The argument to --flavours isn't correctly evaluated. It allows only one value
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-17 09:08:15 +00:00
d17eccc0eb
purge-stale-projects.sh: Attempt to clean projects before purge
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-16 10:41:11 +00:00
6412706800
jw-build-create-project.sh: Fix broken build dependency
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-13 14:15:51 +00:00
3961d47f07
conf/jcs, make, scripts: Rename jw-build's get_os.sh to get-os.sh
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-12 09:35:57 +00:00
763d18f350
pgit.sh: Make commit check if there's a diff before running commit
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-12 09:11:28 +00:00
cf4308e2c5
pgit.sh: Add support for environment variable PGIT_KEEP_GOING
...
Sadly, a commit returns 1 if there's nothing to commit, which makes pgit.sh
error out of the project loop, which is run with set -e. This option disables
-e.
OTOH, pgit.sh commit could check for a diff and only run git commit if there is
a diff.
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-12 08:59:08 +00:00
5f5b934970
jannet: Fix help message indentation
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-10 20:15:17 +00:00
606994f875
scripts/jannet: Add two new commands
...
Add build-date and built-today
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-10 19:08:50 +00:00
0b2df04c6b
list-cvs-files.sh: Add option -t (text-files)
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-02 09:06:24 +00:00
e1200746e3
pgit.sh: Use plain directory path for diff prefix
...
The diff source and destination in diff used to be a/path/to/file.txt and
b/path/to/file.txt which differed from cvs diff -u. Changed that, now make diff
in the toplevel directory creates usable patches for all sources.
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-01 08:41:00 +00:00
a769db8648
list-cvs-files.sh: Fix git submodule recursion
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-05-08 10:26:19 +00:00
8dc4c9a465
list-cvs-files.sh: Add support for -z options
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-05-07 20:33:41 +00:00
3995287a46
list-cvs-files.sh: Add new features
...
Add support for option -n (no submodules)
Add support for project directory argument
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-05-07 19:08:43 +00:00
9440355423
build.py: Beautify output
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-05-07 14:18:18 +00:00
0c6d123e9f
build.py: Pass missing --prefix argument to projects.py
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-04-28 12:01:17 +00:00
bab0c1f69f
pgit.sh: Some experiments to output formatting
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-04-28 11:37:15 +00:00
2332f79001
build.py: Honour flavour argument of prereq command
...
This commit also abandons make echo-prereq in the project's directories, which
is too unspecific to achieve the point of this commit.
It has the following consequences:
- All PREREQ_XXX definitions in makefiles become meaningless
- Build order can break, because it now solely relies on project.conf
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-04-28 11:35:31 +00:00
3110d4b764
pkg-manager.sh: Add command refresh
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-04-28 08:45:55 +00:00
7116403214
pgit.sh: Prepare submodules, too
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-04-27 13:34:50 +00:00
74d178f9b3
integrate-distro.sh: Add support for options -i and -x, fix ini-tools.sh
...
- Add support for
-i ssh-identity-file
-x trace shell
- Ini-tools.sh had to be in $PATH, now it has to be in the same directory
as integrate-distro.sh. This is better for invocation from cron daemon,
as it has practically no PATH set.
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-04-27 13:05:50 +00:00
3fd044c974
integrate-distro.sh: Use CVS_RSH or GIT_SSH to ssh into localhost
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-04-26 07:27:02 +00:00
e48700b459
purge-stale-projects.sh: Additional check if ssh works
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-04-26 07:19:17 +00:00
9fd198bca2
purge-stale-projects.sh: Add safeguard against non-functional SSH executable
...
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-04-25 17:08:39 +00:00