Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.

fix: default toolchain type link #280

Merged
merged 2 commits into from
Aug 21, 2017
Merged

fix: default toolchain type link #280

merged 2 commits into from
Aug 21, 2017

Conversation

christiancompton
Copy link
Member

This fix addresses this [GHE issue], which requests that the toolchain.yml default to type: clone for all interactions, with the exception of using the bx dev enable command, where it should be type: link. That requite change has been made in the appropriate starter kit & cloud-enablement.

@codecov-io
Copy link

codecov-io commented Aug 10, 2017

Codecov Report

Merging #280 into develop will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #280      +/-   ##
===========================================
+ Coverage    90.04%   90.05%   +<.01%     
===========================================
  Files           11       11              
  Lines         1246     1247       +1     
===========================================
+ Hits          1122     1123       +1     
  Misses         124      124
Impacted Files Coverage Δ
refresh/index.js 91.6% <100%> (+0.02%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 64a5919...4f8b681. Read the comment docs.

@christiancompton
Copy link
Member Author

@tunniclm - All CI checks have passed.

@tunniclm tunniclm added this to the 2.7.1 milestone Aug 17, 2017
@christiancompton christiancompton changed the title fix: default toolchain type clone fix: default toolchain type link Aug 20, 2017
@christiancompton
Copy link
Member Author

@tunniclm I thought about your suggestion to have a validation method where repoType needed to match one of the valid options. While this would be beneficial, most users will never have this field directly in their spec. Even if a user provided an extraneous value, the toolchain.yml is still interpreted without error - new is rendered as the default Repository type.

@christiancompton christiancompton merged commit f69c572 into develop Aug 21, 2017
@tunniclm tunniclm deleted the typeClone branch August 21, 2017 15:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants