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

Store post-to-issueID list to git repo and allow overwrite listed issues accroding to this list #33

Open
galaxy001 opened this issue Oct 26, 2017 · 0 comments
Assignees

Comments

@galaxy001
Copy link

galaxy001 commented Oct 26, 2017

Repo owners may have many misformatted issues inserted to their blog repo, and Github only allows us to modify an issue. So, it is better for the local tool to output a post-to-issueID planning list first. And then allow a user to modify the list to use misformatted issues for new posts.

For example, there are 1 post and 5 issue on Github. The repo owner writes 2 new posts locally and is
ready to push it.

The local tool could make a list like this:

2017-11-22-Hello-World.md   5
2017-11-23-Welcome.md       6
2017-11-23-Just-Wrote.md    7

And if the repo owner think issue 3 is misformatted, he can modify the list to:

2017-11-22-Hello-World.md   5
2017-11-23-Welcome.md       3
2017-11-23-Just-Wrote.md    6

Then, he use the local tool to update github issues in overwrite mode, so the tool overwrite issue 3 and issue 5, and insert issue 6.

  • I am not sure whether it is practical to check there is no change in issue 5 first and then skip overwriting issue 5.
  • There should also be a normal mode to only insert issue 6 since overwriting existed issues may take too much time.

I think the list can also used for webpage js script to get the right issue number without searching.
If we put the list in assets path.

We may add permalink to the list for a easier searching. Like this:

5   2017-11-22-Hello-World.md   2017/11/22/Hello-World
3   2017-11-23-Welcome.md       2017/11/23/Welcome
6   2017-11-23-Just-Wrote.md    2017/11/23/Just-Wrote
@galaxy001 galaxy001 changed the title Store post-to-issueID list to git repo and allow overwrite listed issues accroding to list Store post-to-issueID list to git repo and allow overwrite listed issues accroding to this list Oct 26, 2017
@wireddown wireddown self-assigned this Oct 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants