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

Update README.md to reference the GUI application. #1173

Merged
merged 6 commits into from
May 31, 2022

Conversation

bdferris-v2
Copy link
Collaborator

Closes #1172.

I'm not sure how doc previews work in a PR, but you can also see the rendered updates (including the image) at:

https://github.com/bdferris-v2/gtfs-validator/tree/issue/1172/docs

Copy link
Contributor

@isabelle-dr isabelle-dr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is becoming real!
For using the validator with the JAR file, we currently have the following:

  1. on master, we provide instructions on how to download the latest JAR file from master using the GH Actions section (see this section) with a link to DOWNLOAD_SNAPSHOT_JAR.md.
  2. To get the file from a specific release, in the top section of the README.md, the user gets a link to a branch where we replaced the flow described in 1. with the direct link (see the v3.0.0 branch).

I think this is not great because most users skip the top section and end-up getting the file from the GH Actions section, which is overkill for most users, and potentially not what we want since master is not always stable. Additionally, we can easily forget to update these branches when we have a release (proof: we forgot to do this for the 3.0.1 release).

I think sending the users directly to the release page is much better, and we should replace the "Run the app via the command line" Setup section with the same flow.

This brings me to the question: do we want to keep a link to DOWNLOAD_SNAPSHOT_JAR.md in the instructions here, in case a user wants to use the latest version of the validator, or to test that a bug is fixed? I think we should provide it, but make sure this is not the flow casual users will take.
@barbeau, thoughts?

In any case, @bdferris-v2 we should create a DOWNLOAD_SNAPSHOT_APP.md document or modify the existing DOWNLOAD_SNAPSHOT_JAR.md to describe how to get it from the GH Actions.

@bdferris-v2
Copy link
Collaborator Author

I think I'd try to encourage most users to download an official release installer and/or jar. I acknowledge there may be some power users / developers who want to use the latest version at HEAD, but that should be the exception, not the rule. I could take a stab at updating the README to reflect that stance if everyone agrees?

@isabelle-dr
Copy link
Contributor

I could take a stab at updating the README to reflect that stance if everyone agrees?

Okay, thank you 🙏

@maximearmstrong maximearmstrong added this to In Review in The Tech Dashboard (archived) via automation May 27, 2022
@bdferris-v2
Copy link
Collaborator Author

@isabelle-dr I took a stab at updating README.

I didn't yet update DOWNLOAD_SNAPSHOT_JAR.md because I had a follow-up question. In PR #1166, I introduced the package_installers.yml workflow to capture the package installer artifacts. I had split it out into its own workflow because I thought it might run less frequently than the existing test_pack_doc.yml workflow. In retrospect, that turned out not to be the case. As such, I'm wondering if I should combine the workflow back into test_pack_doc.yml. Asking because it might make the documentation in DOWNLOAD_SNAPSHOT_JAR.md more straightforward (only one workflow to reference).

All that said, I don't think the DOWNLOAD_SNAPSHOT_JAR.md update is on the critical path here. Especially given that it's deemphasized in README.md now, I think we could get this PR in support of the 3.1.0 and address that snapshot documentation in a follow-up. Thoughts?

@barbeau
Copy link
Member

barbeau commented May 27, 2022

Asking because it might make the documentation in DOWNLOAD_SNAPSHOT_JAR.md more straightforward (only one workflow to reference).

IMHO the JAR snapshots should really be uploaded to the GitHub Maven repo so they show up under the "Packages" section of the repo (versus just uploaded as artifacts of an Action). They are much easier to find that way - it cuts down the number of steps needed in instructions from like 6 to 1.

We did this on the gtfs-realtime-validator:

I say all this because if we do the above, then the documentation for the process to download the installer and the JAR snapshots will be different and we shouldn't combine them for now.

Copy link
Contributor

@isabelle-dr isabelle-dr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for the update @bdferris-v2. I just added a suggestion.
Let's address the following points in a follow-up:

  • upload JAR snapshots to the GitHub Maven repo
  • potentially combining test_pack_doc.yml and package_installers.yml

cc @maximearmstrong

README.md Outdated Show resolved Hide resolved
The Tech Dashboard (archived) automation moved this from In Review to Approved May 31, 2022
bdferris-v2 and others added 3 commits May 31, 2022 09:41
@bdferris-v2 bdferris-v2 merged commit 41ff596 into MobilityData:master May 31, 2022
The Tech Dashboard (archived) automation moved this from Approved to Done May 31, 2022
@bdferris-v2 bdferris-v2 deleted the issue/1172/docs branch May 31, 2022 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Update validator instructions for the 3.1.0 release
3 participants