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

add ability to regenerate gophermaps #23

Open
benharri opened this issue Jul 12, 2018 · 2 comments
Open

add ability to regenerate gophermaps #23

benharri opened this issue Jul 12, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@benharri
Copy link

I ran into this after creating a phlog post, realizing the path was wrong, updating the configs and still seeing the wrong link.

@jamestomasino
Copy link
Owner

For regenerating a gophermap, do you think that should regenerate your entire gophermap from scratch or just have the edit feature (burrow phlog the same title to edit) also regenerate the gophermap for that one entry?

If I try to regenerate the entire gophermap I could easily have it just scrub through and change the server & port info, but the type, description, and path would be tricky. Well, the description would be tricky. It's lowercased and simplified in the filename, and I don't necessarily know whether someone may have modified their headers so I can't pull it back out of there.

What if instead of a regenerate gophermaps it's more specifically a 'fix gophermaps server info' type command?

@jamestomasino jamestomasino added enhancement New feature or request question Further information is requested labels Jul 12, 2018
@jamestomasino jamestomasino self-assigned this Jul 12, 2018
@benharri
Copy link
Author

I'm thinking that it could be a "regenerate" type command that would re-read the configs and then read the titles from phlog gophermaps before pulling that into the map for listing the phlogs. I'm not sure about that yet though either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants