Commit graph

3,884 commits

Author SHA1 Message Date
f368175d50 Release 1.0.0-103@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2020-08-29 14:02:27 +00:00
6846acbdf7 svg.mk: Fix inkscape command line API change on --export-png
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-08-29 14:01:42 +00:00
cd047ac7c7 Start version: 1.0.0-103
Signed-off-by: janware DevOps <devops@janware.com>
2020-08-29 11:59:34 +00:00
663af37f3f Release 1.0.0-102@debian-10/armhf
Signed-off-by: Janware DevOps <devops@janware.com>
2020-06-16 17:09:46 +00:00
c37f49a170 project.conf + pkg-manager.sh: Add support for raspbian
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-06-16 17:05:03 +00:00
f3febfa460 py-defs.mk, projects.mk: Fix /usr/bin/python globbing on OpenSUSE
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-05-18 13:15:35 +00:00
caf33841b4 py-defs.mk, projects.mk: Use latest install Python
Use $(lastword $(shell ls -v /usr/bin/python[0-9]*)) for the Python version to use.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-05-16 13:22:51 +00:00
a82fa9023b py-xxx.mk: Introduce PYTHON_MAJOR
Where *.pyc files are created is decided by PYTHON_MAJOR, not PYTHON_VERSION,
so introduce it.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-05-16 13:09:16 +00:00
15f39de08f Release 1.0.0-102@suse-tumbleweed/x86_64
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-05-10 09:50:19 +00:00
c64aea01e0 Start version: 1.0.0-102
Signed-off-by: janware DevOps <devops@janware.com>
2020-05-10 09:47:15 +00:00
52bf5d3a0f Release 1.0.0-101@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2020-05-10 08:17:39 +00:00
5de62b3cc5 Start version: 1.0.0-101
Signed-off-by: janware DevOps <devops@janware.com>
2020-05-10 08:17:08 +00:00
5e9168480a project-dirs.mk / pgit.sh: Add support for offlining projects
This adds support for the variable OFFLINE_PROJECTS in projects-dir.mk and the
PGIT_IGNORE environment variable. Both go hand in hand and do what their names
insinuate. OFFLINE_PROJECTS is initialized from EXCLUDE_FROM_BUILD, which in
turn is initialized from exclude.txt and friends.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-05-10 08:07:22 +00:00
fab119fca9 py-defs.mk: Add MYPYPATH to py-libpath target
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-26 19:04:18 +00:00
f9c7582e2b rpmdist.mk: Fix target echo-requires
echo-requires doesn\'t work because all non-pkg-% targets are disabled
in rpmdist.mk, so rename it to pkg-requires. Also add support for build
deps.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-12 06:13:31 +00:00
a404be15b9 make, scripts: Add support for static Python typechecking
This commit adds support for static typechecking with mypy.

Notable additions:

  - A new target "check" which does the type checking

  - Py-mods.mk, meant to be included from a directory containing python modules
    in subdirectories, but not being a python module itself. It makes the all
    target depend on check only if PY_RUN_CHECK_AFTER_BUILD is defined and
    true.  That's because pypy is under heavy development, and the Ubuntu 18.04
    version is too old to work for lots of the code.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-10 12:13:12 +00:00
089aebeaec scm.sh clean: Make git clean ignore .gitignore
scm.sh clean doesn't remove files in .gitignore, which is kind of beside the
point. Fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-10 12:03:43 +00:00
47221aabdb defs-dirs.mk: Add support for EXTRA_SUBDIR_TARGETS
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-10 12:03:42 +00:00
5f3c4a6320 jw-build-create-project.sh: Add __init__.py and __pychache__ to .gitignore
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-06 07:03:32 +00:00
5f9258bdf8 jw-build-create-project.sh: Add *.swp to .gitignore
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-05 12:54:49 +00:00
7fb117a4c4 python-tools.sh: Make __init__py recognize multiple package modules
import my.mod.thing, my.mod.thang wouldn't work, if the modules where not in
the same directory hierarchy, e.g. in $(HOME)/blah/my/mod/thing.py and
$(HOME)/blub/my/mod/thang.py, not even with PYTHONPATH=$(HOME)/blah:$(HOME)/blub.

This commit fixes that.

See https://stackoverflow.com/questions/1675734

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-05 12:51:11 +00:00
477d4e2d8d rpmdist.mk: Remove make/.cache.mk with clean target
make rpm-build sometimes fails because RPM_VERSION is taken from .cache.mk. Not
sure if this commit always resolves that entirely, but it mitigates the
problem.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-05 12:51:10 +00:00
d8542717b1 py-defs.mk: Add PY_PREREQ_RUN in PYTHONPATH
This allows to specify modules in a test directory which a given module does
_not_ depend on and doesn't want to depend on.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-04-05 12:51:08 +00:00
3e99fe51cd projects-dir.mk: Don't do git-pull.done before git-pull-%
Use cvs-update.done instead of git-pull.done as prerequisite
of git-pull-%, because otherwise broken remote own repos
might not be recoverable

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-03-23 08:13:14 +00:00
1239fb9f34 projects.py: Support line continuation in project.conf
This commit makes lines with backslashes at the end behave as
if the next line was appended

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-03-19 17:36:58 +00:00
e71661425c projects.py: Fix integer comparison
Python 3.8 complains about integers compared with 'is not'
instead of '!=', fix that

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-03-19 17:34:35 +00:00
79465cfb6a Release 1.0.0-100@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2020-03-11 14:39:37 +00:00
689b980e58 Start version: 1.0.0-100
Signed-off-by: janware DevOps <devops@janware.com>
2020-03-11 14:38:45 +00:00
74fd246e81 header.ger.tmpl, header.tex.tmpl: Disable LaTeX package portland
portland has been removed from TexLive upstream due to licensing issues, see
https://bugzilla.redhat.com/show_bug.cgi?id=1192705 . It is, however, very
short, and still on CPAN, see
https://ctan.kako-dev.de/macros/latex209/contrib/misc/portland.sty , so it can
be included again if need be, given a test case.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-03-01 17:24:53 +00:00
1c7ef88936 Release 1.0.0-99@ubuntu-18.04/amd64
Signed-off-by: Janware DevOps <devops@janware.com>
2020-02-25 11:57:45 +00:00
640dc4ffad git-submod.mk: Check a couple of variables before taking action
Add checks to the git-init-submod-remote target, to keep it from
starting a job which fails halfway through

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-02-25 10:39:24 +00:00
17244e9a3f pgit.sh: Add support for target refspec to PGIT_CLONE_FROM_USER
PGIT_CLONE_CLONE_FROM_USER now supports optional suffixes of the form
[:src-ref[:dst-ref]]. If present, src-ref specifies the remote branch pgit.sh
tries to fetch, and dst-ref the local branch it tries to fetch into. src-ref
defaults to "master" (as it was before) and dst-ref to nothing, i.e. no
head-update of any local branch.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-02-24 14:35:26 +00:00
34c5d3ec21 proj.mk: Set JANWARE_URL_DOC_PROJECT to jw-build cheat sheet
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-02-24 12:19:05 +00:00
f5f18f6b04 Release 1.0.0-99@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2020-02-10 20:32:52 +00:00
a39a49c753 Start version: 1.0.0-99
Signed-off-by: janware DevOps <devops@janware.com>
2020-02-10 20:32:07 +00:00
f8765bf0f2 qt-defs.mk: Fix QT_BIN_PREFIX
pkg-config --variable=host_bins <modules> returns a trailing whitespace, which
breaks QT_BIN_PREFIX, fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-02-10 19:52:56 +00:00
825277a46d Release 1.0.0-98@suse-tumbleweed/x86_64
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-02-10 18:58:39 +00:00
fec28f982b Start version: 1.0.0-98
Signed-off-by: janware DevOps <devops@janware.com>
2020-02-10 18:58:08 +00:00
23c9fa8db8 Release 1.0.0-97@suse-tumbleweed/x86_64
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-02-10 13:48:31 +00:00
efbf03cb2c Start version: 1.0.0-97
Signed-off-by: janware DevOps <devops@janware.com>
2020-02-10 13:47:51 +00:00
f400886a81 Release 1.0.0-96@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2020-02-08 20:50:17 +00:00
e901c33d72 Start version: 1.0.0-96
Signed-off-by: janware DevOps <devops@janware.com>
2020-02-08 20:49:29 +00:00
3a0d85ff89 git-srv-admin.sh: Fix group ownership
Fix group ownership of newly created git directories.

Signed-off-by: Jan Lindemann <jan@janware.com>
2020-01-21 15:35:06 +00:00
9370121c65 Fix: Tried to purge on first download without jw-build present
Signed-off-by: Jan Lindemann <jan@janware.com>
2020-01-20 09:21:35 +00:00
a93758c99c Release 1.0.0-95@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2019-12-27 18:37:00 +00:00
b641f52467 Start version: 1.0.0-95
Signed-off-by: janware DevOps <devops@janware.com>
2019-12-27 18:36:14 +00:00
d4a9bad14e jw-pkg compile-templates: Fix slashes in passwords
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-12-27 18:27:12 +00:00
9f5527a28e Release 1.0.0-94@suse-tumbleweed/x86_64
Signed-off-by: Janware DevOps <devops@janware.com>
2019-12-27 15:12:49 +00:00
f3687d276e Start version: 1.0.0-94
Signed-off-by: janware DevOps <devops@janware.com>
2019-12-27 14:44:16 +00:00
f8df5c6825 projects.py: Make dep flavour "build" a superset of "run"
If P1 build-needs P2, make it run-need P2, too, since with the current
dependency resolution algorithm, this also adds everything needed to _run_ P2.
Which is the only thing this commit is after. It actually does too much, and
enables P1 to run, too, at least WRT P2. But that's the easiest way to resolve
the problem for now.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-12-27 14:43:29 +00:00