Skip to content

[Bug]: (CI) Normailze deployment to Package Managers (PyPi, npm, homebrew, cargo) #152

Description

@RafaelJohn9

Bug Category

Functional Issue (feature not working as intended)

Description

Well we have different errors arising during downloading the tools from the different Package Managers. We should normalize this and make sure its standardized.

Steps to Reproduce

Try to use the tool after downloading in the different package managers:

  • npm install gh-templates
  • pip install gh-templates

Expected Behavior

  • Tool should work the same regardless of where its downloaded.

Actual Behavior

  • Different errors arrive either due to env or internal errors that affect the output of the tool

example:

$ gh-templates gitignore preview python.gitignore 
Error: Template 'python.gitignore' not found in cache. Try `gh-templates gitignore list` to view available templates.
❌ Platform-specific package not found: gh-templates-linux-x64
💡 Install it directly:
   npm install -g gh-templates-linux-x64
   OR
   npm install -g gh-templates-linux-x64

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions