Skip to content

Commit

Permalink
[Enh]: Fixes pharo-vcs#558: Gitlab Private Project Support
Browse files Browse the repository at this point in the history
Requires pharo-project/pharo#20953: Gitlab Private Project Support (via Iceberg)
  • Loading branch information
seandenigris committed Jan 12, 2018
1 parent f084a8f commit 6b88e52
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ mcRepository
self guessRegisteredRepository
ifNotNil: [ :repo | ^ repo metacelloAdapter ].

baseRepo := MCGitHubRepository location: self location.
baseRepo := self mcRepositoryClass location: self location.
^ (Iceberg icebergRepositoriesURLs includes: baseRepo scpUrl)
ifTrue: [
"Do not use Iceberg to load iceberg code,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ mcRepository
self guessRegisteredRepository
ifNotNil: [ :repo | ^ repo metacelloAdapter ].

baseRepo := MCBitbucketRepository location: self location.
baseRepo := self mcRepositoryClass location: self location.
^ baseRepo getOrCreateIcebergRepository metacelloAdapter
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
accessing
mcRepositoryClass
^ MCGitBasedNetworkRepository allSubclasses detect: [ :e | e basicDescription = self class type ].

0 comments on commit 6b88e52

Please sign in to comment.