Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The script will by default look for a file named `config.ini` located in the sam
To quickly get started, rename `config.ini.sample` to `config.ini`, and edit the fields to match your login info and repository info. If you want to use a different credentials for the source and target repositories, please see [_Configuration: Enterprise Accounts and Advanced Login Options_](http://www.iqandreas.com/github-issues-import/configuration/#enterprise). Store the config file in the same folder as the `gh-issues-import.py` script, or store it in a different folder, using the `--config <file>` option to specify which config file to load in.

**Warning:** The password is stored in plain-text, so avoid storing the config file in a public repository. To avoid this, you can instead pass the username and/or password as arguments by using the `-u <username>` and `-p <password>` flags respectively. If the username or password is not passed in from either of these locations, the user will be prompted for them when the script runs.

Run the script with the following command to import all open issues into the repository defined in the config:

```
Expand Down
5 changes: 3 additions & 2 deletions config.ini.sample
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
# For a full list of options, see <http://www.iqandreas.com/github-issues-import/configuration/>

[login]
username = OctoDog
password = plaintext_pa$$w0rd
#username = OctoDog
#password = plaintext_pa$$w0rd
oauthtoken = somegithubprovidedoauthtoken

[source]
repository = OctoCat/Hello-World
Expand Down
Loading