Commit graph

22 commits

Author SHA1 Message Date
c3c6cdc446 purge-stale-projects.sh: Support --vcs
Support option --vcs. CVS is retired, but worked well as a test case
for mixing multiple version-control systems in one tree.

purge-stale-projects.sh is still pretty ugly and will have to go, but
its API might still serve as a working template.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-29 13:28:51 +01:00
9217d38964 Everywhere: Rename package "jw-build" to "jw-pkg"
jw-build doesn't stop at building software, packaging it afterwards
is also a core feature, so this commit gives the package a better
name.

The commit replaces strings s/jw-build/jw-pkg/ in text files and file
names. Fallout to the functionality is fixed, variable names are left
as they are, though. To be adjusted by later commits.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-28 13:35:56 +01:00
e6757727fa purge-stale-projects.sh: Fix git-srv-admin.sh relies on PATH
git-srv-admin.sh is not necessarily in PATH, notably because
jw-build doesn't add itself to it anylonger, so invoke it with itsits
full path.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-17 13:15:02 +01:00
4074486735 purge-stale-projects.sh: Re-add purge-stale-projects.sh, needed for purging
Without purge-stale-projects.sh, projects not longer in the upstream
directory don't get purged, so add it back.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-17 13:10:54 +01:00
bc883deed4 Everywhere: Remove everything non-essential for "make clean all"
This commit removes everything not strictly necessary for running
"make clean all" inside jw-build.

packaging jw-devtest. This cuts the repo down from 24077 to 4725
lines of code.

The idea is to

1) Further remove bloat from the remaining bits

2) Re-add what's necessary to build and package other essential repos.

   The decision should be based on whether or not jw-build can also be
   useful in a non-janware context.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-14 15:02:56 +01:00
e3489d6222 purge-stale-projects.sh: Ignore untracked files
Untracked files flag a git repository as unfit for purging, don't do that. We
don't care for untracked files.

Signed-off-by: Jan Lindemann <jan@janware.com>
2021-01-30 13:05:58 +00:00
8522aa73fa purge-stale-projects.sh: Purge dspc/src/dspcd
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-07-05 12:44:22 +00:00
005eafcf1b purge-stale-projects.sh: Handle btools and dspider shared
btools and dspider shared have been moved to git. This commit makes
purge-stale-projects.sh remove the CVS debris and links. Needs to be fetched
before it can work, so make pull will have to run twice in the projects dir. To
be removed after all work trees are in sync.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-19 07:39:08 +00:00
d125b20fad purge-stale-projects.sh: Fix premature exit
purge-stale-projects.sh exited prematurely because of set -e, fixed that

Signed-off-by: Jan Lindemann <jan@janware.com>
2018-12-13 18:08:21 +00:00
c3d38b67b5 Make CVSROOT point to cvs.janware.com:/srv/cvs
Change the following occurrences:

  cvs.jannet.de        -> cvs.janware.com
  /home/jannet/arc/cvs -> /srv/cvs
  git.jannet.de        -> git.janware.com

Signed-off-by: Jan Lindemann <jan@janware.com>
2018-12-11 16:44:29 +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
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
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
463092cbef projects-dir.mk: Improve passwordless login
Remove some more obstacles to passwordless login during automated
builds.

Signed-off-by: Jan Lindemann <jan@janware.com>
2017-04-12 14:17:01 +00:00
5ce06805f8 purge-stale-projects.sh: Purge more projects
Now CVS projects not readable and not executable are purged,
too.

Signed-off-by: Jan Lindemann <jan@janware.com>
2017-04-08 13:53:46 +00:00
3fc66dedc8 purge-stale-projects.sh: Check_scm() tried git pull
Which doesn't make a whole lot of sense on a stale project
without an online counterpart. Removed the check without
having a clear idea on what it had been there for in the
first place.

Signed-off-by: Jan Lindemann <jan@janware.com>
2016-10-03 09:03:59 +00:00
5ddb4fd136 purge-stale-projects.sh: Old->purged wasn't completely done
Signed-off-by: Jan Lindemann <jan@janware.com>
2016-09-26 10:53:10 +00:00
1b071fbe8e purge-stale-projects.sh: Implemented support for git in checking status
Signed-off-by: Jan Lindemann <jan@janware.com>
2016-09-22 09:24:15 +00:00
4fcef03284 purge-stale-projects.sh: Check for local modifications before moving
Signed-off-by: Jan Lindemann <jan@janware.com>
2016-09-22 09:08:14 +00:00
1f11eedb75 proj/Makefile: Add target purge
Signed-off-by: Jan Lindemann <jan@janware.com>
2016-09-17 07:10:04 +00:00