ccl icon indicating copy to clipboard operation
ccl copied to clipboard

Keep file name convention.

Open snmsts opened this issue 4 years ago • 15 comments

Please have file name convention.

why change previous convention? https://github.com/Clozure/ccl/releases/download/v1.12/darwinx86.tar.gz for 1.12 and https://github.com/Clozure/ccl/releases/download/v1.11.5/ccl-1.11.5-darwinx86.tar.gz for 1.11.5? I know it's nothing for manual installation. but I'm making tool to support ccl. please consider.

snmsts avatar Apr 20 '20 19:04 snmsts

What conventions do I need to preserve? Are you looking for a single tar archive with complete sources and binaries, like we have distributed in the past? Do you need the tar archive to contain a complete copy of the git repository, or should it contain only exported sources?

xrme avatar Apr 22 '20 04:04 xrme

Thank you for consideration.

for roswell's requirement is just

  • archivefile name should be named with ccl-(version)-(os)(arch).(tar.gz or zip) instead of (os)(arch).(tar.gz or zip)
  • when it is extracted. executable (l|w|d|f|s)?(x86|arm)cl(32|64)(.exe)? and image file under ccl.

a single tar archive with complete sources and binaries

no, roswell couldn't support ccl source installation.it doesn't care other than executable and image file. I want to support more but self hosted compilation and ccl's version restriction for compile is a bit complicated to understand/test enough yet for me for now.

snmsts avatar Apr 22 '20 05:04 snmsts

Note that, as a library author, if ccl on roswell breaks, then all of the Travis-CI builds breaks. The entire quicklisp repos may collapse.

guicho271828 avatar Apr 24 '20 16:04 guicho271828

What about things like the bundled ASDF or the interface database so that the #_ macro works? Do you really just want the lisp kernel and and the heap image?

xrme avatar Apr 24 '20 16:04 xrme

Note that, as a library author, if ccl on roswell breaks, then all of the Travis-CI builds breaks. The entire quicklisp repos may collapse.

That sounds like there is not enough decoupling

mdbergmann avatar Apr 24 '20 17:04 mdbergmann

@xrme It's out of focus here at least for me. I mean I respect author's decision for that kind. I guess official archive already have cared enough for users which expects compatibility. I'm sorry if you feel something about this part.

There might be confusion about what I want. Practically what I want in this context is just repack archives for this release.

$ mkdir ccl
$ cd ccl
$ curl -L -O https://github.com/Clozure/ccl/releases/download/v1.12/darwinx86.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   627  100   627    0     0   1140      0 --:--:-- --:--:-- --:--:--  1137
100 18.0M  100 18.0M    0     0  1782k      0  0:00:10  0:00:10 --:--:-- 2882k
$ tar xf darwinx86.tar.gz 
$ cd ..
$ tar czf ccl-1.12-darwinx86.tar.gz  ccl/

and this ccl-1.12-*.tar.gz (zip for windows) is what I expect to have. Why I have this issue is ask ccl maintainers to keep same structure for the future releases. There could be structure change if reasonable,but It seems there's no drawback to keep same structure.

snmsts avatar Apr 24 '20 18:04 snmsts

Note that, as a library author, if ccl on roswell breaks, then all of the Travis-CI builds breaks. The entire quicklisp repos may collapse.

That sounds like there is not enough decoupling

If you want to keep things decoupled, then the "interface" must be consistent. Interface being, the interface to obtain, uncompress, and run CCL. Roswell has been working on 1.11 and 1.11.5, thus it is decoupled from CCL versions, as long as CCL kept the "interface".

guicho271828 avatar Apr 24 '20 18:04 guicho271828

Screenshot from 2020-04-24 14-55-54

guicho271828 avatar Apr 24 '20 18:04 guicho271828

I'm happy to add re-packed archives in the format that Roswell wants.

I was just trying to understand exactly what in the archive it is relying on. If Roswell doesn't care about source code or the git repository, then I thought it would be good to leave that out of the archive to save time and bandwidth, but maybe the best thing to do is just to make archives with source and git repository like I was doing before.

xrme avatar Apr 24 '20 19:04 xrme

Using ccl through roswell for CI, I'd like to see at least the bundled asdf and interface database (and anything else likely to be useful at runtime, if any) in the archive. Reduced bandwidth sounds nice for that, but I try to set CI builds to cache it if possible. and I'm not paying for the bandwidth anyway :)

If I were using ccl through roswell for development, ccl source would probably also be useful for M-. in slime. I probably wouldn't expect a git repo in a tarball, usually I'd clone manually if I wanted that.

Source + whatever is needed to run things from QL is probably a reasonable compromise if you want to make something smaller, but just keeping existing package contents is fine too.

3b avatar Apr 28 '20 03:04 3b

@xrme Are there problem still?

snmsts avatar May 10 '20 14:05 snmsts

I put in archives for Darwin, Linux, and Windows. Would you please give them a brief test and let me know if they are in the expected format? If so, I'll add the remaining ports.

xrme avatar May 12 '20 03:05 xrme

https://travis-ci.org/github/roswell/roswell/jobs/685916486 looks work fine. https://travis-ci.org/github/roswell/roswell/jobs/685916473 fine with osx confirmed local windows box and it's perfect. :)

snmsts avatar May 12 '20 04:05 snmsts

Great! Now it works on my OSX!

svetlyak40wt avatar May 12 '20 12:05 svetlyak40wt

arm left? (sorry I don't have Solaris/FreeBSD box)

snmsts avatar May 15 '20 17:05 snmsts

The archives for 1.12.2 should be in the usual format.

xrme avatar Aug 09 '23 19:08 xrme