Skip to content

Tweaks to config/endpoints#407

Closed
technoweenie wants to merge 7 commits intomasterfrom
sinbad-endpoint_consistency
Closed

Tweaks to config/endpoints#407
technoweenie wants to merge 7 commits intomasterfrom
sinbad-endpoint_consistency

Conversation

@technoweenie
Copy link
Contributor

DO NOT MERGE

I started exploring a different approach to #362 based on the assumption that #403 will be merged.

sinbad and others added 3 commits June 17, 2015 11:04
There are 2 ways to construct LFS urls - from explicit URLs and from the
clone URL (which gets info/lfs appended). Previously there were multiple
paths where the Endpoint could be constructed in a short-circuit manner
which prevents future expansion in common functions. This standardises
the Endpoint construction so it always happens via NewEndpoint, and
NewEndpointFromCloneURL performs the extra step of appending info/lfs.

This has a current effect of supporting SSH urls in all config settings,
and not just the remote clone URL as before. But mostly this is to enable
future expansion (improved SSH support)
@technoweenie
Copy link
Contributor Author

Code spike served it's purpose.

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.

2 participants