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

Append current issues to README #19

Open
natebass opened this issue Feb 16, 2017 · 3 comments
Open

Append current issues to README #19

natebass opened this issue Feb 16, 2017 · 3 comments

Comments

@natebass
Copy link
Member

natebass commented Feb 16, 2017

It would be nice to have this project, code4sac/projects, be at the top of the list at github.com/code4sac. Right now it's way at the bottom and says "Updated on Aug 14, 2015". This is because a file needs to be changed to make the project "update".

My idea is to listen for every time an issue is created or commented on and then bump up that issue on a list in the README file. It could look like this:


Current Projects

  1. WALKSacramento Project [Proposed 2/15/17]
  2. OSMnx: X-Ray Sacramento's Street Network
  3. Up to twenty?

Further reading:
https://developer.github.com/webhooks/

@natebass
Copy link
Member Author

natebass commented Apr 4, 2017

I implemented this as an Azure Function. The code is not on GitHub but it could be.

Try it out by creating, deleting, and commenting on any issue at https://github.com/natebass/natebass.github.io/issues

@natebass
Copy link
Member Author

natebass commented Apr 5, 2017

There is a bug with the regular expression matching the list.
Here is an example: http://regexr.com/3fm79

Fixed: You can try ## Current Projects[\s\S](\s{2}\d.*[\s\S])* on the example text.

@natebass
Copy link
Member Author

natebass commented Apr 6, 2017

This is now working; as far as I can tell. Let me know your guys' feedback and if it is something you think we should use for the codeforsac/projects repository. @joelrip @KalebClark

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant