Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-shell
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
nexedi
gitlab-shell
Commits
f5e87590
Commit
f5e87590
authored
Apr 15, 2016
by
Robert Schilling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused #list_remote_tags
parent
c615ca46
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
22 deletions
+4
-22
CHANGELOG
CHANGELOG
+4
-0
lib/gitlab_projects.rb
lib/gitlab_projects.rb
+0
-22
No files found.
CHANGELOG
View file @
f5e87590
v3.0.0
- Remove list-remote-tags command (Robert Schilling)
v2.7.1
v2.7.1
- Add new command to list tags from a remote repo
- Add new command to list tags from a remote repo
- Add the ability to fetch remote repo with or without tags
- Add the ability to fetch remote repo with or without tags
v2.7.0
v2.7.0
- Add support for ssh AuthorizedKeysCommand query by key
- Add support for ssh AuthorizedKeysCommand query by key
...
...
lib/gitlab_projects.rb
View file @
f5e87590
...
@@ -64,7 +64,6 @@ class GitlabProjects
...
@@ -64,7 +64,6 @@ class GitlabProjects
when
'update-head'
;
update_head
when
'update-head'
;
update_head
when
'push-branches'
;
push_branches
when
'push-branches'
;
push_branches
when
'delete-remote-branches'
;
delete_remote_branches
when
'delete-remote-branches'
;
delete_remote_branches
when
'list-remote-tags'
;
list_remote_tags
when
'gc'
;
gc
when
'gc'
;
gc
else
else
$logger
.
warn
"Attempt to execute invalid gitlab-projects command
#{
@command
.
inspect
}
."
$logger
.
warn
"Attempt to execute invalid gitlab-projects command
#{
@command
.
inspect
}
."
...
@@ -75,27 +74,6 @@ class GitlabProjects
...
@@ -75,27 +74,6 @@ class GitlabProjects
protected
protected
def
list_remote_tags
remote_name
=
ARGV
.
shift
tag_list
,
exit_code
,
error
=
nil
cmd
=
%W(git --git-dir=
#{
full_path
}
ls-remote --tags
#{
remote_name
}
)
Open3
.
popen3
(
*
cmd
)
do
|
stdin
,
stdout
,
stderr
,
wait_thr
|
tag_list
=
stdout
.
read
error
=
stderr
.
read
exit_code
=
wait_thr
.
value
.
exitstatus
end
if
exit_code
.
zero?
puts
tag_list
true
else
puts
error
false
end
end
def
push_branches
def
push_branches
remote_name
=
ARGV
.
shift
remote_name
=
ARGV
.
shift
...
...
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