- Fix issue writing failure data from a failed orderly bundle.
- Add
prepare_git_example_from_sourcewhich can be used to generate a git controlled orderly directory from a source, and another entrypointrun_orderly_demothat exposes this function, for use in testing OrderlyWeb (mrc-3665)
- Add
orderly_cancel_remotewhich can be used to cancel one or more reports running on a remote via its key (mrc-3167)
- Orderly now only records git information where a
.gitdirectory is found at the orderly root (vimc-4866)
- Prevent use of
rm(list = ls())(or similar) at the top of scripts as this leads to hard-to-track errors, modifies the global environment and is generally poor practice (vimc-4810)
- Fix backward compatibility with R 3.6.x, in the case of a report with zero of 2+ optional fields used (vimc-4766)
- Allow partial pulling of orderly dependency trees, by passing
recursive = FALSEtoorderly::orderly_pull_archiveandorderly::orderly_pull_dependencies. This can reduce the total amount of data transferred when you do not care as much about the integrity of the local archive (vimc-4320)
- Clearer error message where dependency resolution fails due to a query dependency (vimc-4742)
- Remove
orderly_workflowin favour of supporting workflows through orderly.server (mrc-2275)
- Much clearer error message where dependency resolution fails due to a query dependency (vimc-4499)
- Add function
orderly_remote_statusto return details of currently running and queued reports on the remote queue.
orderly_graphargmax_depthnow truncates depth of the tree instead of throwing error and argrecursion_limitadded which works howmax_depthused to
- New function
orderly_infowhich returns details from report runs, both successful and failed (VIMC-4619)
orderly_run,orderly_run_internalandbundle_runwill now save aorderly_fail.rdsif run fails containing metadata and info about failure reason (VIMC-4037)
orderly_cleanupwill now sanitise the report name passed to itorderly_cleanupwill now print summary of how many items will be deleted (#265)
orderly_run_remotechecks that ref exists before running (VIMC-4574)
orderly_runwith non-booleanuse_draftand fixed ID dependency works (#259)
orderly_pull_archiveis now more tolerant of trailing slashes (#260)
- New functions
orderly_bundle_pack_remoteandorderly_bundle_import_remotewhich create a bundle from a remote and return the completed bundle back to the remote (VIMC-4457)
- Allow
orderly_bundle_importto accept a filename that has been renamed from<id>.zip. While this is not generally desirable, it may be needed for some workflows (VIMC-4382)
- Fixes bug where
orderly_bundle_packfailed when the orderly tree and temporary directory were on different filesystems (VIMC-4354)
- Fixes bug where
orderly_bundle_runfailed when using a relative path for a working directory (VIMC-4337)
- Fixes bug where default parameter values were not used in resolving query dependencies (VIMC-4135)
orderly::orderly_new()works in an orderly repo that does not (yet) have asrc/directory (VIMC-4032)
- Remove
orderly::orderly_runnerwhich has been moved tovimc/orderly.server(VIMC-4073)
- Add new function
orderly::orderly_configto return an object representing the config (VIMC-4048)
- Added a new "bundle" concept, for collecting together all requirements for a report from orderly that can be run elsewhere (e.g., on a HPC) using new functions
orderly::orderly_bundle_pack,orderly::orderly_bundle_runandorderly::orderly_bundle_import. This interface will be expanded and the interface may change somewhat (VIMC-3825)
- Add function
get_report_parametersto list parameters for a report at a particular commit id (VIMC-3953)
- Add function
get_reportsto list reports available for a particular branch and commit from orderly_runner (VIMC-3945)
- Add function
git_commitsto list commits for a particular branch from orderly_runner (VIMC-3941)
- Add function
git_branches_no_mergedto get unmerged branches from orderly_runner (VIMC-3857)
- Add ability to run workflow from CLI (VIMC-3873)
- Error messages and stack traces are now preserved in
orderly.logafter a failed run; this primarily impacts the cli runner and then primarily when being run in parallel where the log is not printed to screen (VIMC-3841)
- New function
orderly::orderly_workflowallows users to run a "workflow" - a list of reports which to be run in order. Workflows are configured via a yml file inworkflows/directory.
orderly::orderly_data()has been removed as do not believe anyone was using it, and it is superseded byorderly::orderly_develop_start()(VIMC-3611)- Some internally used arguments have been removed from
orderly::orderly_run(id_file,batch_id,refandfetch). These were not intended for direct use by users (VIMC-3539)
orderly::orderly_pull_dependencies()works where the dependencies use query ids, andorderly::orderly_pull_archive()accepts query ids (rather than justlatest) as an argument (VIMC-3789)
orderly::orderly_run_remote()takes an instance argument to allow users to specify the source DB (VIMC-3698)
- New function
orderly::orderly_push_archive()which allows pushing of an archive to a remote. Theorderly::orderly_remote_pathremote supports this, though care should be taken with what you push! (VIMC-3784)
orderly::orderly_rebuild()creates a dated backup of the database before running, allowing this potentially destructive operation to be recovered from (VIMC-3702)
orderly::orderly_develop_clean()no longer deletes artefacts that are re-exported from sources (VIMC-3671, reported by @cewalters)
- Allow
orderly::orderly_develop_start()to use environment variables declared inorderly.ymland defined inorderly_envir.yml(#214, VIMC-3669, reported by @sangeetabhatia03)
- Add ability to post report commit notification to Microsoft Teams (VIMC-3640)
- Batches of parameters can be supplied to
orderly batchusing a csv file via--file(VIMC-3569)
- New function
orderly::orderly_remote()for getting an "orderly remote" object, as declared in theorderly_config.yml(VIMC-3655)
- Add support for running batches of orderly reports that differ in their parameters, available via
orderly::orderly_batchand with the CLI asorderly batch(VIMC-3603)
- Fix bug where report downloading did not work for some pathological windows paths (VIMC-3595)
- Fix bug in instance selection, probably introduced in 1.0.6 (VIMC-3589)
- Enable implicit report name for
orderly::orderly_runandorderly::orderly_pull_dependenices(VIMC-3512, #170)
- Introduces a basic query interface for searching for reports that match criteria based on parameters and tags, which can be used directly
orderly::orderly_searchor when declaring dependencies (VIMC-3538)
- Environment variables can be used in orderly reports by using the
environment:field inorderly.yml(VIMC-3558)
- Secrets can be read from the vault and used in orderly reports (VIMC-3536)
- Better parsing of parameters passed on the command line, allowing more parameters to be passed through, and coping better with shell quoting (VIMC-3550)
- Environment variables in
orderly_envir.ymlare available during report run (#180, VIMC-3530)
- Introduce the concept of "tags"; these are immutable and exist at the level of a report version. Currently there is nothing that can be done with tags, but these will become useful in conjunction with OrderlyWeb (VIMC-3514)
- Automatic creation of
.gitignorefiles withorderly::orderly_use_gitignore(VIMC-3513, reported by @jeffeaton)
- The
orderly::orderly_develop_*functions are now permissive and allow some invalidorderly.ymlto continue - in particular, the partially complete template generated byorderly::orderly_newcan be directly used (VIMC-3510)
- Improved error message with misformatted artefacts (VIMC-3511, reported by @jeffeaton)
- The first of
usethisinspired functionsorderly::orderly_use_resource(),orderly::orderly_use_source()andorderly::orderly_use_package()which can add a resource, source or packages into the orderly.yml (VIMC-3503)
- Dependencies can be resolved as if they were to be run on a remote (including appropriate selection of "latest" dependencies). This is to support future decentralised workflows (VIMC-3473)
- New report development mode, via
orderly_develop_start,orderly_develop_statusandorderly_develop_clean. These largely supersedeorderly_test_start, though the latter remains for now (VIMC-3404)
- Depending on draft reports, including with
use_draft = "newer", no longer pulls in failed drafts (VIMC-3467, reported by @sangeetabhatia03)
- Functionality for creating dependency graphs for reports using orderly::orderly_graph (VIMC-2174)
- The orderly CLI runner gets a
pullsub command for pulling dependencies from remote orderly servers (VIMC-3466)
- The orderly CLI runner gets an
--instanceargument (VIMC-3460) - The instance information is saved into the
orderly_run.rds. This is not yet reflected in the database and might be tweaked before being added.
- More informative error messages when orderly fails to resolve an environment variable, particularly when loading remote configuration (VIMC-3386)
- Fix regression running reports - vault autocompletes to vault_server
- Enforce parameter types before model run, rather than on commit, and with better messages (VIMC-3411)
- Expand how the vault server is defined to allow additional arguments to be directly specified (VIMC-3372)
- More flexible control of use of draft reports, using the argument
use_drafttoorderly_runandorderly_test_start. This will replace the use of explicitly specifyingdraft: truein the depends section oforderly.yml(VIMC-3377).
- Database configurations now support the concept of "instances" to allow switching between different versions of a database (e.g., production and staging) without manually altering the configuration or environment variables. Functions
orderly::orderly_run,orderly::orderly_db,orderly::orderly_test_startandorderly::orderly_dataall get aninstanceargument to support this (VIMC-3302).
- The metadata now includes the state of
.Random.seed, if present (VIMC-3375)
orderly::orderly_test_startprints instructions that are paste-able on windows -- previously they may have contained backslashes (VIMC-3251).orderly::orderly_runnow strips a leadingsrc/if provided, allowing easier tab-completion of report names (VIMC-3226).
orderly::orderly_test_checkis no longer case sensitive with paths, preventing issues when used from directories that do not have canonical casing (VIMC-3205)
- In orderly to comply with CRAN policies, the functionality of
orderly::orderly_test_startand related functions has been severely reduced. Functionsorderly::orderly_test_endandorderly::orderly_test_restarthave been removed andorderly::orderly_test_startno longer directly provides a useable environment for testing reports (VIMC-3178).
- Initial release to CRAN
- Parameters now accept defaults in
orderly.yml, and the format has altered slightly (VIMC-2413, #8).
- Deprecated functions
pull_archive,pull_dependencies,set_default_remotehave been removed (VIMC-2946, deprecated in VIMC-2944 / 0.7.2).
orderly_migratecan now clean up old migration backup files. These should generally be quite safe to delete, but it would be better to do this directly fromorderly(VIMC-3157)
- Global resources can now be renamed on copy, allowing use of subdirectories to structure them. Using global resources as a set of strings is now deprecated (VIMC-2961).
- The command line interface has been overhauled, in particular the parameter passing interface (VIMC-2469) which now accepts key-value pairs and not json
- It is now possible to deduplicate an
orderlyarchive usingorderly::orderly_deduplicate(VIMC-731).
orderly_runnow checks for sink imbalance, in the same way that device imbalances are currently checked for, preventing odd errors when sinks are left open or too many are closed (VIMC-3129)
- All README files are copied into destination directory, not just top level (VIMC-3065)
- Pulling from remotes now imports the report into the local
orderlydb, and also pulls all dependent reports (VIMC-2855, VIMC-3054).
- Detection of modified dependencies has been improved (VIMC-2997).
- Fixes notifications to slack on report completion (VIMC-2992).
- The database configuration in
orderly_config.ymlnow has an "args" section, rather than guessing arguments. Old configurations are valid, with a warning to update (VIMC-1986).
- Function
orderly_unzip_archive/unzip_archivehas been removed in preparation for release. - Function
push_archive(previously marked as experimental and not implemented for anything other than file remotes) has been removed. We may reconsider this again in the future.
- Functions
pull_archiveandpull_dependencieshave been deprecated in favour oforderly_pull_archiveandorderly_pull_dependencies(respectively). Similarly,set_default_remotebecomesorderly_default_remote_setandorderly_default_remote_getis exported.unzip_archivebecomesorderly_unzip_archive(VIMC-2944).
- Remove arguments
openandextended_outputfromorderly_runas these were not widely used (VIMC-2945)
- The concept of "publishing" a report has been removed from
orderlyin preparation for it to be implemented entirely inOrderlyWeb(in the meantime it will be provided byorderly.server(VIMC-2941)
- The database schema now represents the "custom" fields in a way that makes it more obvious which fields are in fact custom, using new tables
custom_fields(holding metadata about the fields) andreport_version_custom_fields(linking these to the report versions) (VIMC-2768)
- The
orderly"runner" (orderly_runner) will now periodically backup the destination database, which will be useful in cases where other applications store information in it (VIMC-2882)
- The
configargument to exported functions has been renamed torootto better reflect what is expected to be passed in (VIMC-2919)
- The
orderly_run.ymlscript has now been removed andorderly_run.rdsis the sole source of truth for theorderlyrun metadata (VIMC-2873).
- Allow multiple databases (or no database) to be be used in the
orderlyconfiguration (VIMC-2795)
- Remove old db schema (VIMC-2769)
README.mdfiles are automatically copied as resources from source folder. Additionally it is an error to includeREADME.mdas an artefact (VIMC-2230)- Fix passing of
timeoutthrough to remote runners when using themontagupackage (VIMC-2517)
- The database schema now stores basic git information alongside report versions, if the report source archive uses git (VIMC-2615)
- The runner now recognises the
master_onlyconfiguration option and can prevent running reports with references other thanmaster. This is now enforced entirely on the server (VIMC-2642) - The
changelogtable includes the attributable public report version attributable to each changelog entry
orderlynow prompts to install missing packages and offers code to help with this (VIMC-2384)orderly runon the command line accepts message entries (VIMC-2363, VIMC-1797)orderlychecks that the resources were not modified during running a report (VIMC-2137)
README.mdis automatically treated as resource if present (VIMC-2230)- Fix handling of remote environment variables (VIMC-2553)
- Removes support for shiny apps as this was poorly tested and not used by us (VIMC-2544, VIMC-2538).
- The
montagupackage is no longer used directly byorderly(VIMC-2453) - instead we use a similar "driver" approach to the database connections. This paves the way for an eventual CRAN release (VIMC-2421).
- Improvements to archive migration when local archive directories contain invalid files (VIMC-2449).
orderlynow indicates the version that failed to run, and can move failed versions aside to complete migration of the rest of an archive.
- Requires
vaultr0.2.0, which is a major overhaul of that package.
- Better error messages when unexpected files are found in the
orderlyarchive (VIMC-1761) - Include parameters used in the
orderlydatabase (VIMC-2397) - Better error message when migration is needed (VIMC-2392)
orderlyworks with report repository clones that lack anarchivedirectory (VIMC-2383)
- Support for changelogs (VIMC-1503)
- The
displaynameanddescriptionfields are correctly copied into the neworderlydatabase.
- New
connectioncolumn in thereport_versiontable inorderly's database (VIMC-2327)
- New
latestcolumn in thereporttable inorderly's database (VIMC-2298)
- Null entries are allowed in
orderly_envir.yml
- Introduces "global resources" support for assets used in multiple reports that are not themselves dependencies.
- The database schema includes a
publishedfield (VIMC-2251) - New option
if_schema_changedto rebuildorderlydatabase (orderly_rebuild) only on a schema change (VIMC-2280)
- Send a slack message after a report has been run from the commandline tool, and by extension the runner (VIMC-1931)
- New internal database structure (VIMC-1930)
- Fix running reports on montagu servers (VIMC-1911)
- Reset working directory if
orderly_test_startfails on startup (VIMC-1870) - Extend the templates to allow for multiple files and versions of templates (VIMC-1877)
- Also output times with
orderly::orderly_run_info(#24/VIMC-1818)
- Copy a template report from the
orderly/template.ymlwithin theorderlyroot if available, then falling back on the version in the package. push_archive, the inverse ofpull_archivefor copying an archive report elsewhere (VIMC-1811). Currently only supported forremoteas a path.orderly::orderly_run_info()can return information about the current run, including information on dependencies.
- Print total elapsed time taken to print report
- Runner can kill reports
- Git is reset to previous HEAD immediately after preparing workdir
orderly_rungains a--fetchargument, used when--refis specified to rungit fetchbefore resolvingref- The
orderlyrunner looks up theshafor arefat the point of queuing, rather than the point of running - The cli tool gets a
--pulland--fetchargument
- Support for adding a message to a report
- Support for downloading reports from locations other than montagu. This includes a breaking change, where the
serverargument topull_dependenciesandpull_reportchanges toremote. The structure here will probably change a little further in a future version.
- Support for creating "shiny apps" as artefacts