Main page I Packages I Help I Forum

SvarDOS community forum

a place to talk about SvarDOS and other DOS-related things

jump to end reply list of threads

characters c-z not permitted in package names?

1250b38cbe3c7d1e a976585729acf595 0f07618f53a42889 a90ae2d56a6607c8 2c9b9a4cc278c7f1 9b0188cfa78e8cb7 7824cec144e0b2b7 cd8b593994146bd5
[pkgfmt] help says: package name ... must not be composed of characters others than a-b, 0-9 and '_' ... so I woud expect a lot of packages like bab, abba, baba, ba_ba, etc. (etc not included).
078ac416e4811d4f ac7134fc6c34222e e676a6b143232a57 f638c349b414e0e6 b25cc1129ce8293c bc9a49b88c1ea9f5 a8d5c26e0797bc6f 2eba886e5c7e366b
Fixed. :) http://svardos.org/phpamb.php?fname=help/help-en&f=pkgfmt.ama Mateusz
Is dash "-" not allowed? I find I've been using it for https://pushbx.org/ecm/download/ldebug/svardpkg/
078ac416e4811d4f ac7134fc6c34222e e676a6b143232a57 f638c349b414e0e6 b25cc1129ce8293c bc9a49b88c1ea9f5 a8d5c26e0797bc6f 2eba886e5c7e366b
The dash character is not allowed on CD-ROMs (ISO 9660 Level 1), that's why I did not include it. See section 10.1.1 here: https://pds.nasa.gov/datastandards/pds3/standards/sr/Chapter10.pdf But appending the dash and the version is fine in my book, since such filename is not reflecting the package "name", but a "name-version" combo where the version part can be easily stripped if needed (that's actually what I do when generating the SV-REPO.ISO image that contains only the latest version of every package). Mateusz
Okay, thanks for the response. Upon the next release I will have to change the SvarDOS package name though. Would ldebug10.svp or ldebug10.zip still work? If I left in the dash the basename would exceed 8 bytes.
078ac416e4811d4f ac7134fc6c34222e e676a6b143232a57 f638c349b414e0e6 b25cc1129ce8293c bc9a49b88c1ea9f5 a8d5c26e0797bc6f 2eba886e5c7e366b
well, sure - anything works, really, because the pkg installer is not using the package filename itself for anything (albeit it used to, but that's no longer the case exactly for the reason that it prevented installing packages where the filename contained the version string). https://github.com/SvarDOS/bugz/issues/85 That being said, I still do not think that adding a dash-version suffix (that may make the filename exceed 8+3) is a bad thing. Such filename is simply not going to be used by users as-is, they will have to be renamed at some point, but for web distribution it's not bad. That's how we store the packages in the SvarDOS repo of packages btw. For example there are such filenames in our repo: urthwurm-2002.svp usbdos-2016-04-28.svp use_umbs-2.0.svp utf8tocp-0.9.4.svp utf8tocp-0.9.5.svp utf8tocp-20240918.svp videcdd-2.14.svp vmsmount-0.5b.svp These files are automatically renamed (version suffix stripped) when the user downloads them, but for archival sake on modern-ish filesystems they are pretty convenient. http://svn.svardos.org/listing.php?repname=SvarDOS%20Packages Mateusz
078ac416e4811d4f ac7134fc6c34222e e676a6b143232a57 f638c349b414e0e6 b25cc1129ce8293c bc9a49b88c1ea9f5 a8d5c26e0797bc6f 2eba886e5c7e366b
> Upon the next release I will have to change the SvarDOS package name though.
Just for clarity: my previous comment was about the package filename (since you mentioned the *.svp extension). If you think about changing the ldebug package NAME (ie. base filename of the LSM file inside the archive) then it's a slightly different story. I wouldn't recommend naming a package "LDEBUG10", because then it will be more difficult to update it. The 'pkgnet checkup' procedure will not pick up an update to, say, "LDEBUG11" because it would be considered a different package, so the user would have to know to 'pkg del LDEBUG10' and then fetch and install 'pkg install LDEBUG11'. But again, if you are only thinking about changing the filename of the svp package, then anything will be fine, really. Mateusz
Yes, I meant only the filename on our server, not the LSM filename nor contents.

your name or nick

password (optional)


check the TWO LAST boxes: