Thanks looks fine to me, Christophe, thank you for the great work. The non format=raw case results in a redirect but that should be acceptable, both URL works both and without trailing /
> On 29 Aug 2020, at 00:05, Christophe Demarey <christophe.dema...@inria.fr> > wrote: > > I understand that he new site is unusable if tools do not get the expected > input. Sorry for the inconvenience. I was just not aware of this as Pharo > uses the raw format. > I had to set up a CGI to produce an html listing from the raw file. > It should now be ok. Could you tell me if it works in GemStone now? > > Christophe > >> Le 28 août 2020 à 19:21, Dale Henrichs <dale.henri...@gemtalksystems.com> a >> écrit : >> >> Christophe, >> >> I appreciate your effort, but I assume that you aren't finished yet? >> >> When I use the url from your message I get a `Not Found` error (note that I >> explicitly included a trailing slash in the url): >> >> <dkbjiegjmlbelgio.png> >> >> This is a bug (or omission) as well, since other Monticello sites produce >> the expected HTML output with or without a trailing slash. >> >> Without the trailing slash I get the same (non-html) response that was >> causing a problem before ... although something must have changed, because >> the GemStone command is now producing an error instead of an empty list ... >> Once you get the static site to produce the expected output, I'm confident >> that the GemStone errors will go away (this code has been running for about >> a decade on all Monticello html repositories). >> >> I suggest that you look at what is produced on SqueakSource >> (http://www.squeaksource.com/MooseSQL/) as an example of expected output of >> the mcz file listing ... this html page format has been used since 2003 for >> ALL (valid) monticello repositories. >> >> If it is not clear, the `?format=raw` option is a recent Pharo only option >> and when the dynamic site was running and the `?format-raw` option was >> OMITTED it produced output compatible with >> (http://www.squeaksource.com/MooseSQL/) ... >> >> Restoring HTML is *REQUIRED* for the static site to be a faithful >> replacement of the dynamic site... the format that is produced today is only >> compatible with the Pharo only `?format=raw` option. >> >> Bug or omission ... the static site is currently in worse shape than the >> dynamic site before the swap ... >> >> Dale >> >> On 8/28/20 2:12 AM, Christophe Demarey wrote: >>>> Le 28 août 2020 à 10:15, Sven Van Caekenberghe <s...@stfx.eu> >>>> a écrit : >>>> >>>> >>>> >>>> >>>>> On 28 Aug 2020, at 10:13, Christophe Demarey <christophe.dema...@inria.fr> >>>>> wrote: >>>>> >>>>> Smalltalkhub is now to able to distinguish between raw and not raw mcz >>>>> listing requests. >>>>> Ex: >>>>> >>>>> http://smalltalkhub.com/mc/Seaside/Seaside30LGPL/main?format=raw >>>>> >>>>> >>>>> http://smalltalkhub.com/mc/Seaside/Seaside30LGPL/main/ >>>>> >>>>> >>>>> I already use the apache directory index for another page so I will not >>>>> be able to modify this one. I guess the current index will « not work » >>>>> because glass expect some HTML structure. >>>>> Could you confirm and tell me what is the expected structure? >>>>> >>>> See my earlier mail with code. >>>> >>> Thanks Sven >>> >>> >>> >