Comments (2)
Thanks for drafting this initial pass! One thought that occurs to me is that, if the single parameter is JSON, it should be standard JSON, and not the loose JSON accepted by the dotslash
tool. This is just because it's not super standardized and cross-language may cause parsing complexities / problems for people writing providers (which may or may not be written in Rust).
Another thought is that the "streaming output to stdout
so the provider doesn't need / get to know layout" is a nice idea! I'm imagining the case of the draft GitLab provider, I think this would mean needing to redirect the output of the subcommand to stdout
, which isn't too terrible. The one constraint is we'd probably want some protocol for how to handle things going wrong. If we assume providers may basically delegate to a subcommand (like the GitHub and GitLab providers), those subcommands might write error messages to stdout
if they're poorly-written. It may be good to specify that providers should write errors to stderr
so they can be printed to the dotslash
user, and also to use error return codes properly in the provider binary.
from dotslash.
if the single parameter is JSON, it should be standard JSON
Yes, we would absolutely do that. Though FYI, I just updated the docs last night to list "experimental commands":
https://dotslash-cli.com/docs/flags/
FYI, today you can do:
dotslash -- parse DOTSLASH_FILE
to get the "pure JSON" of a DotSlash file, if that's helpful for any sort of tooling you build around DotSlash.
from dotslash.
Related Issues (20)
- Consider supporting "tar.xz" format HOT 2
- Homebrew release HOT 3
- Misplaced "format" entry not flagged as error HOT 2
- Feature request: a "check" command that verifies the config for all platforms
- Feedbacks on migrating to full dotslash dev env HOT 1
- Latest release and docs should match HOT 3
- Add guide for writing a `Provider`? HOT 4
- Release status? HOT 4
- Writing a dotslash file for a python toolchain HOT 10
- Fix Homebrew release HOT 2
- Fix CI: macos-13 build appears to be failing HOT 3
- Please don't retag releases HOT 1
- Some tar.gz archives dont decompress correctly
- S3 Provider
- [RFC] configuration file? HOT 3
- Bootstrapping dotslash HOT 2
- Case study: rustc as a dotslash executable, with sysroots
- Support zip in Artifact Format HOT 4
- Add aarch64 to ubuntu release HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotslash.