Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
2f3ab0ab
Commit
2f3ab0ab
authored
May 21, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define GITORIOUS_HOST only once
parent
1c4604bf
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
lib/gitlab/gitorious_import.rb
lib/gitlab/gitorious_import.rb
+5
-0
lib/gitlab/gitorious_import/client.rb
lib/gitlab/gitorious_import/client.rb
+0
-2
lib/gitlab/gitorious_import/repository.rb
lib/gitlab/gitorious_import/repository.rb
+0
-2
No files found.
lib/gitlab/gitorious_import.rb
0 → 100644
View file @
2f3ab0ab
module
Gitlab
module
GitoriousImport
GITORIOUS_HOST
=
"https://gitorious.org"
end
end
lib/gitlab/gitorious_import/client.rb
View file @
2f3ab0ab
module
Gitlab
module
Gitlab
module
GitoriousImport
module
GitoriousImport
GITORIOUS_HOST
=
"https://gitorious.org"
class
Client
class
Client
attr_reader
:repo_list
attr_reader
:repo_list
...
...
lib/gitlab/gitorious_import/repository.rb
View file @
2f3ab0ab
module
Gitlab
module
Gitlab
module
GitoriousImport
module
GitoriousImport
GITORIOUS_HOST
=
"https://gitorious.org"
Repository
=
Struct
.
new
(
:full_name
)
do
Repository
=
Struct
.
new
(
:full_name
)
do
def
id
def
id
Digest
::
SHA1
.
hexdigest
(
full_name
)
Digest
::
SHA1
.
hexdigest
(
full_name
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment