10000 Made the basedir option the file dir without appending /Repos/ to the… · GitHubToolbox/github-ripper@f369f7f · GitHub
[go: up one dir, main page]

Skip to content

Commit f369f7f

Browse files
committed
Made the basedir option the file dir without appending /Repos/ to the end
1 parent 13e051b commit f369f7f

File tree

6 files changed

+15
-7
lines changed

6 files changed

+15
-7
lines changed

CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,17 @@ All notable changes to this project will be documented in this file.
55

66
This changelog was automatically generated using [Caretaker](https://github.com/DevelopersToolbox/caretaker) by [Wolf Software](https://github.com/WolfSoftware)
77

8-
### [Unreleased](https://github.com/DevelopersToolbox/github-ripper/compare/v0.1.0...HEAD)
8+
### [v0.1.1](https://github.com/DevelopersToolbox/github-ripper/compare/v0.1.0...v0.1.1)
99

10-
- Fix travis rvm versions and slack integration [`[head]`](https://github.com/DevelopersToolbox/github-ripper/commit/)
10+
> Released on June, 9th 2021
11+
12+
- Made the basedir option the file dir without appending /Repos/ to the end [`[head]`](https://github.com/DevelopersToolbox/github-ripper/commit/)
13+
14+
- Fix travis rvm versions and slack integration [`[13e051b]`](https://github.com/DevelopersToolbox/github-ripper/commit/13e051b88cf6081e2e47665332f035b77c8c4aea)
15+
16+
### [v0.1.0](https://github.com/DevelopersToolbox/github-ripper/releases/v0.1.0)
17+
18+
> Released on March, 12th 2021
1119
1220
- The initial commit [`[d6e8c31]`](https://github.com/DevelopersToolbox/github-ripper/commit/d6e8c3134a2a0f19446da799615aeda8998bc8b4)
1321

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Flags:
103103
| Option Name | Default Value | Purpose |
104104
| ---------------- | -------------- | ------- |
105105
| -t, --token | No default | The token used to authenticate yourself (not required but helps remove/mitigate throttling issues) |
106-
| -b, --base-dir | ~/Downloads/ | The directory to place the cloned repos in |
106+
| -b, --base-dir | ~/Downloads/repos | The directory to place the cloned repos in |
107107
| -g, --use-git | False | Use git instead of https to clone the repos, this requires your public key to be configured on GitHub |
108108
| -u, --user | No default | The user(s) you wish to rip the repo of (if not supplied defaults to yourself **IF** a token is used) |
109109
| -o, --org | No default | The organisation(s) you want to rip the repos of |

VERSION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.0
1+
0.1.1

lib/github-ripper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class << self
2525
def rip(options = {})
2626
# The following is to force github-lister-core to only retun repo slugs
2727
options[:use_slugs] = true
28-
options[:base_dir] = "#{File.expand_path('~')}/Downloads" unless get_option(options, :base_dir)
28+
options[:base_dir] = "#{File.expand_path('~')}/Downloads/Repos" unless get_option(options, :base_dir)
2929

3030
repos = get_repo_list(options)
3131
results = rip_repos(options, repos)

lib/github-ripper/git.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def get_clone_type(options)
2222
end
2323

2424
def repo_full_path(options, repo)
25-
"#{options[:base_dir]}/Repos/#{repo}"
25+
"#{options[:base_dir]}/#{repo}"
2626
end
2727

2828
def repo_exists?(repo_path)

lib/github-ripper/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# Class docs to go here
33
#
44
class GithubRipper
5-
VERSION = '0.1.0'.freeze
5+
VERSION = '0.1.1'.freeze
66
end

0 commit comments

Comments
 (0)
0