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.

Need a branch named "master" to convert this to a starter kit

See original GitHub issue

In order to convert this repository to a starter kit (blockchain does not have any as of this writing), it should have the following three branches:

  • development: deploys to dev-console.stage1.bluemix.net (development)
  • stage1: deploys to console.stage1.bluemix.net (staging)
  • master: deploys to console.bluemix.net (production)

However, only the master branch really matters (we have other ways to do development and testing, so and the production console is the only real goal). As a workaround, I’ve been planning to fork the latest branch of this repository to github.com/ibm/blockchain-marbles, and add the starter-kit related bits there. That’s inevitably going to be confusing for downstream consumers, but it would work.

Instead, I’m hoping that you can find a way to support a master branch on this repository (it doesn’t have to be the project’s default branch or anything, it just needs to be very stable).

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
stevemarcommented, Mar 27, 2018

@dshuffma-ibm I can help here. Here’s documentation about how git repo branches are used for starter kits and their respective deployments: https://pages.github.ibm.com/arf/codegen-dev-guide/devops/starterkits/#devops-for-real

Here’s a relevant snippet:

The development, stage1, and master branches in a Starter Kit repository are special. Attempts to register branches from any other name is considered a dry-run by the Registration service, and does not result in a new registrant in the registry’s database.

The rules to abide by are:

  • The development branch content is saved in the Registry’s database where the Registry microservice has stage1 in the domain and -dev hostname suffix.
  • The stage1 branch content is saved in the Registry’s database where the Registry microservice has stage1 in the domain and does not have the -dev hostname suffix.
  • The master branch content is saved in the Registry’s database where the Registry microservice is in production (where of course it lacks both the -dev hostname suffix and stage1 in the domain).

Here’s information about the blueprint.json file that would contain all the information that the starterkit pulls from: https://pages.github.ibm.com/arf/codegen-dev-guide/starters-client-side/content/#the-blueprintjson-file-in-detail

The site https://pages.github.ibm.com/arf/codegen-dev-guide has a bunch of content.

0reactions
dolphcommented, Nov 7, 2018

Closing because this is no longer destined to become a starter kit.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changing the Default Git Branch Name from master. - YouTube
In this lesson we are going to learn how to create our own starter templates for Git. For our example we'll change the...
Read more >
How to change git default branch from master - Level Up Coding
There are three steps in renaming the default branch · Change the branch name · Set remote upstream tracking for the new branch...
Read more >
Why GitHub renamed its master branch to main | TheServerSide
GitHub renamed the master branch to main for any Git repository, as it addresses cultural change like so many organizations that have nixed ......
Read more >
How do I create a new branch in Git? - Tower Git Client
Find out about the various ways to create both local and remote branches in Git. ... existing branch, simply add that branch's name...
Read more >
How to Rename the Default Git Branch and Why You'd Want To
Use this tutorial to change your default branch's name from Master to Main (or anything else).
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