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

Derive subsets page automatically from metadata #102

Open
cmungall opened this issue Oct 26, 2018 · 5 comments
Open

Derive subsets page automatically from metadata #102

cmungall opened this issue Oct 26, 2018 · 5 comments
Assignees

Comments

@cmungall
Copy link
Member

Metadata:
https://github.com/geneontology/go-ontology/tree/master/src/ontology/subsets

Of course this is in a different repo. go.gh.io should have a Makefile that syncs upstream metadata into the _config.yml. See the obo site for examples

Would avoid issues like: geneontology/helpdesk#167

@lpalbou
Copy link
Contributor

lpalbou commented Nov 30, 2018

It's totally possible but we selected GitHub pages to avoid dynamic content, this tech is not really design for that..

We discussed this problem at Stanley Hall with Chris & Seth, and I still think this sort of "dynamic" page (changing with every release) should be produced by the pipeline which would update automatically a specific markdown file of the site. @kltm tagging Seth on that.

The other solution would be to create a HTML page within the new site, fetching data through http requests and using possibly jquery to create the dynamic content.

@kltm
Copy link
Member

kltm commented Dec 1, 2018

Either in the pipeline (and the site grabs the pages) or Jenkins can trigger and update the repo automatically on metadata updates, both viable in my opinion.

@lpalbou
Copy link
Contributor

lpalbou commented Dec 1, 2018

I still favor the later (jenkins triggers update to this repo to update a specific file anytime there is a new release). We could use the same strategy for filling the stats number on the upper right corner of the site:

Current release 2018-10-01: 45,042 GO terms | 6,278,639 annotations | 3,200 species

@suzialeksander
Copy link
Collaborator

For clarification, this fix will affect both the Subset and the Downloads pages (http://current.geneontology.org/products/pages/downloads.html)

@suzialeksander
Copy link
Collaborator

Likely solution: site will fetch, perhaps from a file or perhaps from API- redo both dynamic pages

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

No branches or pull requests

5 participants