Build and packaging library
  • Python 43.9%
  • Makefile 40.9%
  • Shell 15.2%
Find a file
Jan Lindemann 3cf5b2264e lib.FileContext: Add file methods
Add the following methods, meant to do the obvious:

  unlink(self, path: str) -> None
  erase(self, path: str) -> None
  rename(self, src: str, dst: str) -> None
  mktemp(self, tmpl: str, directory: bool=False) -> None
  chown(self, path: str, owner: str|None=None, group: str|None=None) -> None
  chmod(self, path: str, mode: int) -> None
  stat(self, path: str, follow_symlinks: bool=True) -> StatResult
  file_exists(self, path: str) -> bool
  is_dir(self, path: str) -> bool

All methods are async and call their protected counterpart, which is
designed to be overridden. If possible, default implementations do
something meaningful, if not, they just raise plain
NotImplementedError.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-04-18 10:43:31 +02:00
.github/workflows build-package.yaml: Add workflow 2026-04-13 17:23:13 +02:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
conf scripts/usr-bin: Install symlink /usr/bin/jw-pkg 2026-04-06 15:58:11 +02:00
make cmds.projects.CmdCanonicalizeRemotes: Add command 2026-04-13 12:23:02 +02:00
scripts Remove /srv/git from janware Git URLs 2026-04-13 12:15:37 +02:00
src lib.FileContext: Add file methods 2026-04-18 10:43:31 +02:00
.gitignore Everywhere: Rename package "jw-build" to "jw-pkg" 2025-11-28 13:35:56 +01:00
HASH Release 1.0.0-206@suse-tumbleweed/x86_64 2026-04-16 18:07:55 +00:00
Makefile make: Replace RPM -> PKG 2026-03-16 14:57:50 +01:00
RELEASES Release 1.0.0-206@kali-rolling/amd64 2026-04-17 23:10:09 +00:00
VERSION Start version: 1.0.0-206 2026-04-16 18:06:59 +00:00