Re: [starter] Tentative JBang starter script
On Wed, 2022-03-23 at 15:37 +0100, Bertrand Delacretaz wrote: > Hi Robert, > > Le mer. 23 mars 2022 à 11:02, Robert Munteanu a > écrit : > > ...I don't have a strong opinion on where this ends up. It would be > > nice > > to include 'starter' somewhere in the same; we can potentially > > launch > > e.g. the Sling CMS or other Sling applications using JBang and > > should > > IMO make early on the distinction about what part of Sling we are > > launching > > We might also have other types of scripts, how about a new > sling-scripts repository for this? > (snip) The sling-scripts name works for me. We don't necessarily need a consolidated scripts repository, we already have various scripts spread around in sling-tooling-release and sling-tooling-scm. For me the main criteria for this repository is to read nicely in the JBang command line invocation. Looking at [1] I wonder whether we should have a central catalogue for all of Sling or per-application scripts. Thanks, Robert [1]: https://www.jbang.dev/appstore/
Re: [starter] Tentative JBang starter script
Hi Robert, Le mer. 23 mars 2022 à 11:02, Robert Munteanu a écrit : > ...I don't have a strong opinion on where this ends up. It would be nice > to include 'starter' somewhere in the same; we can potentially launch > e.g. the Sling CMS or other Sling applications using JBang and should > IMO make early on the distinction about what part of Sling we are > launching We might also have other types of scripts, how about a new sling-scripts repository for this? And then set it up so that the Sling Starter can be started with jbang starter@apache/sling-scripts And if we want to start other things later, instead of "starter" those can use "cms", "colossal-cave", etc. While leaving space in that repository for other types of scripts, if needed. The JBang setup just needs a jbang-catalog.json at the root, with the corresponding scripts in subfolders as desired. WDYT? -Bertrand
Re: [starter] Tentative JBang starter script
Hi Bertrand, On Tue, 2022-03-22 at 17:44 +0100, Bertrand Delacretaz wrote: > Hi, > > I've written a tentative script to start the Sling Starter 12 with > jbang, > at [1], > > To try it, install https://www.jbang.dev and run > > jbang start@apache/sling-whiteboard > > Optionally with Feature Launcher options at the end ( try -h ) > > If we think this is useful we might create a dedicated GitHub > repository > for such JBang scripts, to avoid having "whiteboard" in the command > line. Looks good! I don't have a strong opinion on where this ends up. It would be nice to include 'starter' somewhere in the same; we can potentially launch e.g. the Sling CMS or other Sling applications using JBang and should IMO make early on the distinction about what part of Sling we are launching. Thanks, Robert > > Feedback is welcome! > > -Bertrand > > [1] > https://github.com/apache/sling-whiteboard/blob/master/jbang/SlingStarter.java
[starter] Tentative JBang starter script
Hi, I've written a tentative script to start the Sling Starter 12 with jbang, at [1], To try it, install https://www.jbang.dev and run jbang start@apache/sling-whiteboard Optionally with Feature Launcher options at the end ( try -h ) If we think this is useful we might create a dedicated GitHub repository for such JBang scripts, to avoid having "whiteboard" in the command line. Feedback is welcome! -Bertrand [1] https://github.com/apache/sling-whiteboard/blob/master/jbang/SlingStarter.java