generated from greenelab/lab-website-template
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Upgrade to lab-web-template v1.2.0 #8
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
See changelog for high level, user-facing changes. - docker python install changes. pin watchdog version, turn off unneeded caching. - docker entrypoint changes. run cite process immediately, ensure no simultaneous runs. - first time setup fixes. don't parse config.yaml as yaml, instead customize with string replacement to preserve key order and comments. - add title and link fallbacks to citation component - fix start/end markers for blog post excerpts, and remove special characters from hidden search attribute - change member page from col layout to float - add multi-line option to regex_scan liquid plugin (to support start/end marker bug above) - add new regex_strip liquid plugin to strip all special characters from string - card, code, portrait, post excerpt css fixes - fix testbed image links - (re)include user pr template - fix versioning workflow to correctly parse and split changelog - add show-title and show-subtitle site config options - include site subtitle in description meta tag
See greenelab/lab-website-template#177 . v1.1.1 introduced a regression in `first-time-setup.yaml` when clearing the `gh-pages` branch. I wanted to make the command simpler -- to simply delete everything in the folder -- but I didn't think it through enough. [There is a safeguard to prevent the command from working](https://unix.stackexchange.com/questions/369530/rm-refusing-to-remove-or-directory-skipping), and also even if it did work it would delete the `.git` folder which would break things. Thus, this version reverts the command to how it was before, manually specifying each `.` folder.
Closes #181 and #180 Closes #179 - fix typo in first-time-setup.yaml - fix versioning workflow tag/release - tweak some cite.py and _plugins comments - add commented out `continue` for if user wants to discard sources that have ids that can't be cited by Manubot, per #186 discussion - clean Manubot title/authors/publisher/etc output. trim whitespace and filter. - fix citation, portrait, and float css The tagging/releasing step is now reverted to [how I had it in v1.1.0](https://github.com/greenelab/lab-website-template/pull/166/files#diff-67cc7f4d3d06063e6239e59de699c4a2c768ba544777ded6aa22ab45aa0ad24a), just using `ncipollo/release-action` for both the tag and the release, and removing `mathieudutour/github-tag-action`. Idk why I keep going back and forth. I guess the last time I tried using just `ncipollo` it didn't work? But it seems to be working now (links ephemeral): https://github.com/vincerubinetti/lwt-test/pull/2 https://github.com/vincerubinetti/lwt-test/releases/tag/v1.1.4 --------- Co-authored-by: vincerubinetti <[email protected]>
- explicitly list cite process cache files in gitignore - add default values for all `.get()` calls for extra safety and also to indicate expected type - change `id` to `_id` in plugins. this was done in the main `cite.py` script in v1.1.1 but i missed it in the plugins. - fix dangerous memoize/cache bug where cache key doesn't include the id of the metasource currently being cited, which affects the output - orcid plugin: update api to v3 - orcid plugin: fix bug where all ids for single source were being included. instead, find most recent doi, and fallback to other id type if not available. - orcid plugin: keep a few details from api for ids that aren't citable by manubot - allow `format_date` util func to accept numeric timestamp (returned from orcid api) - tweak member bio page
- various cite process tweaks - add traceback logging of running plugins - change variable names for clarity and consistency - add generic "safe get" function as suggested by Faisal last pr - use generic safe get in place all of all gets. helps fix bug due to orcid api sometimes returning none types for certain fields, and other future bugs.
Unpins all cite process python packages from their exact versions, pins them to **major versions**. This ensures users will be on the latest versions of packages, without breaking changes (assuming the packages follow semver properly), and without having to constantly update their template version (which can be a pain). Closes #210 Addresses #211 FOR THE TEMPLATE MAINTAINER(S) New template version checklist: - [x] I have updated CITATION and CHANGELOG as appropriate. - [x] I have updated lab-website-template-docs as appropriate. - [x] I have checked the testbed as appropriate. --------- Co-authored-by: vincerubinetti <[email protected]>
- add discussion templates. be more aggressive requiring fields. - update to latest version of all github actions (checking for breaking changes) - add debug step to each workflow to allow ssh access in - fix site.location vs page.url bug (see issue) - add html-proofer plugin to check for broken images and links, disabled by default because it adds a lot of time to hot-reload, but set explicitly as false in config so users can easily flip it on - update bundler version and re-bundle gems - add "remove" option for cite-process that allows a user to remove a source from a metasource. e.g., an ORCID returns a source that the user doesn't want on their site, so in their sources.yaml they put the id and remove: true. - by default, ignore sources that manubot can't cite if they're from metasources (see changelog) - add markdownify to more component params - fix bug in citation (and other) components where when lookup is blank, first entry in list is always chosen - make use of newly widely available CSS container queries - remove compilation-time wrapping of tables because it breaks nested tables, and is not (practically) possible to support them in the same way. replace with run-time js plugin for wrapping. - upgrade font awesome and improve loading mechanism - fix header title/subtitle CSS bug reported by @Maruuka - add "image" param to post excerpt component, so blog posts can have thumbnails - fix bug that prevents manual passing of tags to tag component - add heading 5/6 styles/support - tweak dark mode plugin - various style tweaks New template version checklist: - [x] I have updated CITATION and CHANGELOG as appropriate. - [x] I have updated lab-website-template-docs as appropriate. - [x] I have checked the testbed as appropriate. - [x] I have tested changed workflows on a freshly generated and forked repo.
|
This reverts commit 0a3134e.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.