-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IDEX-3576: Add git remote and branch to projects attributes #602
Conversation
ok |
@@ -22,11 +22,17 @@ | |||
public class GitProjectType extends TransientMixin { | |||
|
|||
public static final String VCS_PROVIDER_NAME = "vcs.provider.name"; | |||
public static final String CURRENT_BRANCH_NAME = "current.branch.name"; | |||
public static final String REPOSITORY_REMOTES = "repository.remotes"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Formatter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually this variant is also possible, but agree alligment is preferable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
ok |
|
||
@Inject | ||
public GitProjectType(GitValueProviderFactory gitRepositoryValueProviderFactory) { | ||
super("git", "git"); | ||
addVariableDefinition(VCS_PROVIDER_NAME, "Is this git repo or not?", false, | ||
gitRepositoryValueProviderFactory); | ||
addVariableDefinition(CURRENT_BRANCH_NAME, "Name of current brunch", false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix "brunch"
other OK |
IDEX-3576: Add git remote and branch to projects attributes
@vparfonov @skabashnyuk @sleshchenko please review