Build and packaging library
  • Python 55.2%
  • Makefile 32.6%
  • Shell 12.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann 96409e50f7
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 3m50s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 3m51s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 3m50s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 4m10s
CI / Packaging test (push) Successful in 0s
lib.Uri: Treat paths starting with "~" specially
An Uri instance constructed from "~/some/path" returns
"file://~/some/path" as the .full property, i.e. with the "~" in the
authority part. That's not accurate and doesn't make the intended
sense in an URL context, see RFC 8089:

  Common UNIX shells such as the Bourne-Again SHell (bash) and Z
  SHell (zsh) provide a function known as "tilde expansion"
  [Bash-Tilde] or "filename expansion" [Zsh-Tilde], where a path
  that begins with a tilde character "~" can be expanded out to a
  special directory name.  No such facility exists using the file
  URI scheme; a tilde in a file URI is always just a tilde.

The "fix" introduced by this commit makes .full return the path
without file:// prepended. That's conservative. It could also chose
to expand the tilde, which is arguably cleaner. To be introduced by a
later change after this commit has seen more coverage.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-07-22 11:40:56 +02:00
.github/workflows ci.yaml: test-packaging.yaml@{master-test -> master} 2026-06-08 19:43:15 +02:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
conf conf/templates: Fix installation 2026-06-11 13:30:43 +02:00
make py-test.mk: Generate conftest.py 2026-07-02 19:52:35 +02:00
scripts create-mkspec.sh: Tolerate comma-separated subpackages 2026-07-22 11:06:58 +02:00
src lib.Uri: Treat paths starting with "~" specially 2026-07-22 11:40:56 +02:00
test cmds.CmdPlatform: Fix typo "comamnds" -> "commands" 2026-07-22 11:06:58 +02:00
.gitignore test: Add subdirectory with integration test 2026-06-25 14:40:53 +02:00
HASH Release 1.0.0-247@suse-tumbleweed/x86_64 2026-07-05 23:29:56 +00:00
Makefile $(TOPDIR)/Makefile: include py-topdir.mk 2026-05-31 18:20:35 +02:00
RELEASES Release 1.0.0-247@suse-tumbleweed/x86_64 2026-07-05 23:29:56 +00:00
VERSION Start version: 1.0.0-247 2026-07-05 23:10:17 +00:00