bazel-contrib / bazel-contrib/rules-template

Switch template to Copier

Open
#119 12 comments 1 reaction 0 assignees View on GitHub
enhancement help wanted
Dominant language
Starlark
Stars
100
Forks
34
PR merge metrics
No merged PRs in 30d

Description

See https://copier.readthedocs.io/en/stable/

This will allow to do the:

* search for "com_myorg_rules_mylang" and replace with the name you'll use for your workspace
* search for "myorg" and replace with GitHub org
* search for "mylang", "Mylang", "MYLANG" and replace with the language/tool your rules are for
* rename directory "mylang" similarly

steps for the user automatically after asking for those details.

Also, when this template involves, users can use Copier to pull in those changes to their instantiated projects. Ref: https://copier.readthedocs.io/en/stable/updating/

Contributor guide

Open the contributing guide

Research direction

Start with the issue’s requested Copier workflow and read the linked Copier documentation, especially its updating guide. Identify the template content and substitutions described in the issue, then verify that a generated ruleset can be created and later updated through Copier.

Written by the indexing model from the issue text.

Assessment

Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.