scc icon indicating copy to clipboard operation
scc copied to clipboard

Migrated previous GitLab CI code to a GitLab CI/CD Component

Open DarwinJS opened this issue 1 year ago • 1 comments

Describe the bug @boyter - we've previously collaborated and you have some links to my GitLab CI Include for using this with GitLab.

We had some interest at a GitLab customer in your counter - so I took the previous include code and ported it to a GitLab CI/CD Component - which are reusable, GitLab CI/CD dependencies with version pegging and many other feature.

By default the component will count the current project after using a highly efficient Git Clone. However, it retains the ability to count a set of named projects or a Gitlab Group Heirarchy.

I also found a repository that tries to have examples for every known programming language.

You can find the component here: https://gitlab.com/explore/catalog/guided-explorations/ci-components/scc-code-counter The source here: https://gitlab.com/guided-explorations/ci-components/scc-code-counter And the working example here: https://gitlab.com/guided-explorations/ci-components/working-code-examples/sample-programs Here's an example job log from the working example: https://gitlab.com/guided-explorations/ci-components/working-code-examples/sample-programs/-/jobs/7278841658

To Reproduce

  1. Tell us how you were using scc either as command line or library.
  2. If command line please list the arguments. If library please supply code to demonstrate the issue.
  3. If the issue is a miscount or some such please link or supply a file which demonstrates the issue.

Expected behavior A clear and concise description of what you expected to happen.

Desktop (please complete the following information):

  • OS: [e.g. macOS, Windows, Linux]
  • Version [e.g. 22]

DarwinJS avatar Jul 06 '24 13:07 DarwinJS

Great. So not sure what you want me to do here? Update the README.md to point at the new links and such?

boyter avatar Jul 21 '24 23:07 boyter