Skip to content

Conversation

@rogdevil
Copy link
Member

  1. initially we had template create cmd as jumpstart -t [template name] {project name} but on the other hand we have the concept of sub commands as well like jumpstart template list so I thought of a different approach to make command more declarative by going with option
    jumpstart create -t [template name ] {project name}

  2. when we create a ssh key for github ir prompts user to enter a phassphrase to encrypt the RSA key. previously it was hardcoded in the code now we are taking that input from the user on line no 112 to 114 in cli.go file

  3. if .ssh folder does not exist in home directory we are not going for a panic now instead we return an empty instance of SSHKeys so that user knows that github ssh is not setup and he need to do it .

@rogdevil rogdevil requested a review from euforia October 25, 2023 05:30
@rogdevil
Copy link
Member Author

  1. added time in commit signature, previously it was showing commit time 54 years ago.

if strings.Contains(err.Error(), ".ssh: no such file or directory") {
return &SSHKeys{dir: "", keys: nil}
}
panic(err)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should just log this as error and return &SSHKeys{keys:[]string{}}

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah this gets logged to the cli we already have that logic in cli.go file

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2023-10-25 at 11 03 17 PM here is how it works now @euforia

@rogdevil rogdevil requested a review from euforia October 26, 2023 05:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants