Giter VIP home page Giter VIP logo

stencil's Introduction

stencil

go.dev reference Generated via Bootstrap Coverage Status

microservice lifecycle manager

Contributing

Please read the CONTRIBUTING.md document for guidelines on developing and contributing changes.

High-level Overview

Stencil is a smart templating engine for service/library development aimed to reduce the use of boilerplate code.

Check out our documentation for more information!

stencil's People

Contributors

chatchai-outreach avatar coding-paras avatar dependabot[bot] avatar deregtd avatar dundee avatar edmangimelli-outreach avatar george-e-shaw-iv avatar getoutreach-ci-1[bot] avatar jaredallard avatar kaldorn avatar malept avatar nissim-natanov-outreach avatar rhymepurging avatar yj-yan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stencil's Issues

API design of stencil.Delete vs stencil.RemoveAll

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).

Make fails outside outreach environment

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.

https://github.com/getoutreach/stencil-discovery not accessible

Hi, I'm going through the documentation and I'm trying to create a module.
However I'm getting this error:

image

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

Tutorial isn't working for me

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

image

stencil describe can't find file

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.