swagger-api / swagger-api/swagger-codegen
[git] Add variable for github hostname in git_push.sh template
Open
Nobody has claimed this yet.
Enhancement: Feature
General: Suggestion
help wanted
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
The git_push.sh template does now allow for the target github endpoint to be changed.
A variable should be added to allow changing of this endpoint to support github enterprise usage, etc..
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the git_push.sh template in the swagger-codegen templates and read how the target GitHub endpoint is currently written. Add a configurable hostname variable so generated scripts can target GitHub Enterprise as well as github.com. Verify that the generated script uses the configured endpoint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, shell
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100