Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example pull request #2

Closed
wants to merge 2 commits into from
Closed
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
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ This Python script allows you to import issues and pull requests from one reposi

Fork of one of the tools by [Max Korenkov](https://github.com/mkorenkov) separated from its original location at [`mokorenkov/tools`](https://github.com/mkorenkov/tools).

The repo also contains a [new file](new_file.txt) with text in it that you may enjoy reading.

#### Usage ####

Rename `config.py.sample` to `config.py`, and edit the fields to match your login info and repository info.
Expand All @@ -13,7 +15,7 @@ Rename `config.py.sample` to `config.py`, and edit the fields to match your logi

* This config file can contain any valid Python syntax, so be careful!
* The password is stored in plaintext, so avoid storing the config file in a public repository.

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

```
Expand All @@ -34,6 +36,8 @@ If the issue is a pull request, this will be indicated on the issue, and a link

Any comments on the issue will be imported, however, the author of all imported comments will be the account specified in the config. Instead, a link and header is provided for each comment indicating who the original author was and the original date and time of the comment. Any subsequent comments added to the issue after it has been imported into the target repository will not be included.

If allowed by GitHub's policies, it may be a good idea to use a "neutral" account to import the issues and issue comments to avoid imported comments from getting mixed up with developer comments (example: [FlixelCommunityBot](https://github.com/FlixelCommunityBot?tab=activity)).

Milestones and Labels attached to the issue will be imported and added to the target repo if they do not already exist there.


Expand Down
1 change: 1 addition & 0 deletions new_file.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ac urna placerat, tincidunt odio sit amet, sagittis est. Integer volutpat, nulla nec fermentum consectetur, mauris risus posuere quam, quis facilisis urna massa sit amet massa. Nulla et dignissim sapien. Suspendisse potenti. Aliquam lobortis et nibh et posuere. Morbi pharetra lectus vitae sodales tempor. Aenean nec ante tincidunt, placerat odio eget, commodo nulla.