Repository navigation
[WIP] Merge rootstock - #195
michaelmhoffman wants to merge 11 commits into
Conversation
Merges manubot/rootstock#227 * Upgrade dependencies on 2019-06-03 Keep python at 3.6 to avoid introducing collections.abc warnings from jinja2. Keep cairo, pango, and weasyprint at previous versions to avoid dealing with any difficulties. * Upgrade manubot to include new citation infrastructure. Includes support for multiple manual reference files of multiple formats. Rewrite USAGE.md to document new functionality. * environment.yml: remove `conda-forge::` prefix, which should not be necessary since we specify conda-forge as the channel. This change is meant to resolve conda warning: > you have pip-installed dependencies in your environment file, but you do not list pip itself as one of your conda dependencies https://travis-ci.com/manubot/rootstock/builds/114188607#L507 * Update .gitignore with vscode directory
Merges manubot/rootstock#230 Closes manubot/rootstock#229 Previously, `command -v docker` returned a non-zero exit status when docker did not exist. Because build.sh uses `set -o errexit`, this caused the build script to exit. By appending `|| true`, the exit status will always be zero. Use recommended $() instead of backticks for command substitution. https://stackoverflow.com/a/24592916/4651668
Merges manubot/rootstock#234 Also update URLs in 02.delete-me.md
…ee#233) Merges manubot/rootstock#233 Hat tip to Michael Hoffman (https://hoffmanlab.org/) for feedback. * Apply shell best practices References: https://kvz.io/blog/2013/11/21/bash-best-practices/ https://www.davidpashley.com/articles/writing-robust-shell-scripts/ manubot/rootstock#233 (comment) * Specify bash (not just sh). Other shellcheck suggestions Properly use command substitution and parameter expansion in the appropriate places. * echo diagnostic messages to stderr Previously echo defaulted to stdout https://stackoverflow.com/a/41766832/4651668 Placement of stderr redirect to: "echo >&2" * Update bash options: xtrace specified by calling command * Quote variable names * deploy.sh: use Travis env vars for CI build URLs These environment variables were added to Travis in late 2018 travis-ci/travis-ci#8935 (comment)
* Improve documentation about build process * Additional rephrasing * Updates per dhimmel review
* Link to catalog * Add formatting and CSL instructions * Remove examples and add try-manubot
Merges manubot/rootstock#250 Failures in after_success did not cause the entire build to fail. Now if deployment fails, the build should fail. References: https://docs.travis-ci.com/user/deployment/#conditional-releases-with-on https://docs.travis-ci.com/user/deployment/script/ travis-ci/travis-ci#758
Merges manubot/rootstock#243 Closes manubot/rootstock#91 Closes manubot/rootstock#246 Switch to a Travis CI settings environment variable to store the SSH private key for GitHub deployment. Setup no longer requires the travis ruby gem, whose `travis encrypt` subcommand was incompatible with Windows. Setup is now supported on Windows systems with a Unix/Linux/POSIX-compliant shell with the proper dependencies, such as ssh-keygen & openssl. The SSH private key is stored in MANUBOT_SSH_PRIVATE_KEY, after being base64 encoded to remove newline characters. Remove files for the legacy encrypted file method. Deprecate the encrypted file decryption in deploy.sh. In the future, we may only support private key specification via MANUBOT_SSH_PRIVATE_KEY.
Merges manubot/rootstock#258 Closes manubot/rootstock#257 Change corresponds to: chmod a+x **/*.sh
|
See greenelab/meta-review#251 for how @dhimmel resolved conflicts from the deploy-related changes. |
|
Thanks, I'll probably start this over. |
|
@michaelmhoffman want me to do it? I updated a different manuscript yesterday so the process is fresh. |
|
@agitter Yes that would be awesome. Everything I've done here is discardable. If you could include a transcript of the commands you use to do it in the pull request description that would be invaluable. (I know that's already there from the link you provided, this is just in case it's different.) |
|
Replaced by #196 @michaelmhoffman this rootstock update was worse than usual. There were conflicts in files that can typically be merged automatically but needed manual correction this time due to past edits I made in this repo. |
Merge newest
masterfrom @manubot/rootstock.