getoutreach / stencil Goto Github PK
View Code? Open in Web Editor NEW๐ smart templating engine for service development
Home Page: https://engineering.outreach.io/stencil
License: Apache License 2.0
๐ smart templating engine for service development
Home Page: https://engineering.outreach.io/stencil
License: Apache License 2.0
Hi, I'm going through the documentation and I'm trying to create a module.
However I'm getting this error:
Error message in text:
failed to get versions for "https://github.com/getoutreach/stencil-discovery": failed to git ls-remote "https://github.com/getoutreach/stencil-discovery": repository not found
Just some feedback:
stencil.Delete
is a bit awkward to use, since it's stateful - you have to run stencil.Create
and then stencil.Delete
.
It's also analogous to stencil.RemoveAll
, but RemoveAll takes an argument and Delete does not.
My request would be to allow Delete to take an argument (perhaps an optional one if you can't break compatibility).
Looks like it is looking for the exact path from stencil.lock, but the behavior is a little surprising, as I would expect it to accept a reasonable looking file path as well
โฏ stencil describe cmd/smartstorecdctestconsumer/smartstore.go
cmd/smartstorecdctestconsumer/smartstore.go was created by module https://github.com/getoutreach/stencil-smartstore (template: cmd/smartstore.go.tpl)
โฏ stencil describe ./cmd/smartstorecdctestconsumer/smartstore.go
ERRO[0000] failed to run: file "./cmd/smartstorecdctestconsumer/smartstore.go" isn't created by stencil
Running make build
, as the docs suggest for linux install, fails on a non outreach system. I am seeing:
No box repository URL provided, and no box configuration stub found at /home/artemchernyak/.outreach/.config/box/box.yaml to infer it from
cat: /home/artemchernyak/.outreach/.config/box/box.yaml: No such file or directory
10:04AM WRN Failed to get honeycomb api key (did you run .bootstrap/shell/devconfig.sh?) error="failed to find secret at any of [/run/secrets/outreach.io /home/artemchernyak/.outreach/stencil]"
10:04AM WRN Failed to get telefork api key (did you run .bootstrap/shell/devconfig.sh?) error="failed to find secret at any of [/run/secrets/outreach.io /home/artemchernyak/.outreach/stencil]"
10:04AM INF Building...
Error: open /home/artemchernyak/.outreach/.config/box/box.yaml: no such file or directory
failed to read box config
main.runGoCommand
/home/artemchernyak/src/getoutreach/orc/.bootstrap/root/go.go:25
main.Gobuild
/home/artemchernyak/src/getoutreach/orc/.bootstrap/root/Magefile.go:83
main.main.func16
/home/artemchernyak/src/getoutreach/orc/.bootstrap/root/mage_output_file.go:439
main.main.func12.1
/home/artemchernyak/src/getoutreach/orc/.bootstrap/root/mage_output_file.go:267
runtime.goexit
/home/artemchernyak/.asdf/installs/golang/1.19.2/go/src/runtime/asm_amd64.s:1594
make: *** [.bootstrap/root/Makefile:153: gobuild] Error 1
This seems to be related to a missing box.yaml
.
The link on the Quick Start redirects to https://engineering.outreach.io/getting-started/installing instead of https://engineering.outreach.io/stencil/getting-started/installing, which is the correct page.
When I'm trying to execute the instructions here: https://engineering.outreach.io/stencil/getting-started/quick-start/#step-3-import-a-module I am receiving this error:
failed to run: run codegen: failed to render template "github.com/getoutreach/stencil-base/.github/CODEOWNERS.tpl": template: github.com/getoutreach/stencil-base/.github/CODEOWNERS.tpl:2:25: executing "github.com/getoutreach/stencil-base/.github/CODEOWNERS.tpl" at <stencil.Arg>: error calling Arg: module "github.com/getoutreach/stencil-base" requires argument "reportingTeam" but is not set
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.