-
Notifications
You must be signed in to change notification settings - Fork 0
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
Versioning specs #11
Comments
Sounds fine to me. I don't have very strong opinions about versioning, though. It is worth noting, perhaps, that InterMine has MAJOR.MINOR.PATCH versioning from Cambridge, and then I append an LIS number to indicate an LIS extension version of the given core mine version (5.1.0.3 is our current LIS version and I'm not sure that InterMine will ever go past 5.1.0, since there is no one working on it at Cambridge any longer). |
Thanks for bumping this @sammyjava. It would be nice to come to a decision on this sooner than later since there's a PR open to make changes to the gene search web component that aren't in the spec, i.e. the spec needs to be brought up to date and it would nice to know if/how we're going to version specs before proceeding. |
I'm going to add this to the agenda for this week's LIS/PB meeting since the changes to the gene search PR is about ready to merge. |
I have added a "Specification version" to the top of each of these specs. The section has notes below the semantic version to give something like a change history. See, for example, (the version history is kind of long in that case, so I put it in a collapsible div.) I haven't yet made a template; thought that I would get feedback on the layout and versioning pattern first. |
I'd add an "Optional parameters" category to your template, which would hold stuff like the |
I think this is nice, @StevenCannon-USDA. Here's a few comments that come to mind:
|
Thanks for review and suggestions, @sammyjava and @alancleary. I've made those changes. Will let one of you close this if you think this is good enough for now. (I'm not too excited about doing a template, since it's not difficult to follow an existing example spec and modify it as needed.) |
The gene search spec looks good to me. It looks like the trait search still needs to be updated, though. It has a "Notes" section instead of a "Details" section like the gene search spec, and I think the spec needs to be updated to specify a paginated table instead of a list for the same reasons we switched the gene search spec back to the default table. |
I think the 3 point versioning sounds reasonable. I don’t know enough to offer an opinion on how and when to release a new version |
On the issue of pagination, I think that searches that retrieved a large number of hits will be difficult to scroll through to get a sense of all the hits if the number of lines initially returned is small. Could you choose the number of lines you see like 10,20,100,250 per page? |
The number of results returned by a paginated search is not specified in the spec and is, in fact, set in your GraphQL code. This raises a good point, though, that we should have a spec for paginated search. Once the spec is in place, you would then request that users can select the number of results per page via a GitHub issue in this repo. |
Thanks; I've made those changes. |
I'm in the process of tagging releases for any spec that currently has a version number in it. Someone speak up if any such spec shouldn't actually have a tagged release yet! Edit: Nevermind. I see that issues are still open for the gene-function (#7) and pan-gene (#9) searches. I won't tag those releases until the issues are closed. The gene and trait search specs have been released! |
I'm going to close this issue since we actually have versioned specs now. |
At our last meeting we discussed versioning individual specs so we can evolve them over time and keep track of what's actually implemented. The point of this issue is to work out the details. Here's some thoughts to start the discussion:
MAJOR.MINOR.PATCH
, e.g.1.3.2
) is pretty standard. You could also add a revision number if you want to indicate a prerelease version of the spec that needs review.[email protected]
, whereMICROSERVICE
is the name of the directory in the repo that the microservice lives in.Any thoughts on this will be much appreciated.
The text was updated successfully, but these errors were encountered: