question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create A GitHub Repository from a Template repository

See original GitHub issue

Feature Suggestion

At the Moment we are able to create a repository using the Backstage actions, Would like to request a feature where users can come and create a repository from a template repository.

at the moment the publish:github is like this:

 - id: publish
      name: Publish
      action: publish:github
      input:
        repoUrl: ${{ parameters.repoUrl}}
        description: 'this is a template repo'

Possible Implementation

- id: publish
      name: Publish
      action: publish:github
      input:
        repoUrl: ${{ parameters.repoUrl}}
        description: 'this is a template repo'
        templateRepository: <path to template repository>

Context

-Trying to create a repository from a template repository -Easy for further implementation for development and usage

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:26 (20 by maintainers)

github_iconTop GitHub Comments

1reaction
skgandikotacommented, Nov 16, 2022

@benjdlambert I’m happy to contribute and enhance the github:repo:create with extra variable createFromTemplateRepo and said functionality. Good Idea @aswathysen, Even we started to see the necessity of following feature in our organization. Happy to collaborate with @aswathysen & @rijuvfrancis

0reactions
Brend-Smitscommented, Nov 25, 2022

Apologies for the lack of replies here on my behalf. I’ve been working on my new home and did not have a lot of time to use my pc.

Within Philips we also created a template that allows you to create a repository based on a template, however, due to lack of time (needed a refactor as the base template in BackStage got refactored) and no longer requiring this feature internally, I did not create a PR.

I just tested the version I created internally and it seems like things are still working well. I will submit my feedback in the PR and share some thoughts with code suggestions where possible.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating a template repository - GitHub Docs
On GitHub.com, navigate to the main page of the repository. · Under your repository name, click Settings. Repository settings button · Select Template...
Read more >
How to use Github repository templates - Gary Woodfine
The process is really simple and you can create a new template repository or mark any existing repository as a template with admin...
Read more >
GitHub introduces 'Template repository' for easy boilerplate ...
Just navigate to the Settings page and then click on the 'Template repository' checkbox. Once the template repository is created anyone who has ......
Read more >
How to Use GitHub Repository Templates - Blog - GitProtect.io
Creating a template repository · Navigate to the repository's home page on GitHub.com. · Select Settings from navigation under your repository ...
Read more >
How to Create And Use GitHub Repository Templates
Setup and use GitHub Repository Templates · Create a Repository · Change Folder · Add Files to Folder · Add Files to a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found