- Fix issue writing failure data from a failed orderly bundle.
- Add
prepare_git_example_from_source
which can be used to generate a git controlled orderly directory from a source, and another entrypointrun_orderly_demo
that exposes this function, for use in testing OrderlyWeb (mrc-3665)
- Add
orderly_cancel_remote
which 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
.git
directory 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 = FALSE
toorderly::orderly_pull_archive
andorderly::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_workflow
in 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_status
to return details of currently running and queued reports on the remote queue.
orderly_graph
argmax_depth
now truncates depth of the tree instead of throwing error and argrecursion_limit
added which works howmax_depth
used to
- New function
orderly_info
which returns details from report runs, both successful and failed (VIMC-4619)
orderly_run
,orderly_run_internal
andbundle_run
will now save aorderly_fail.rds
if run fails containing metadata and info about failure reason (VIMC-4037)
orderly_cleanup
will now sanitise the report name passed to itorderly_cleanup
will now print summary of how many items will be deleted (#265)
orderly_run_remote
checks that ref exists before running (VIMC-4574)
orderly_run
with non-booleanuse_draft
and fixed ID dependency works (#259)
orderly_pull_archive
is now more tolerant of trailing slashes (#260)
- New functions
orderly_bundle_pack_remote
andorderly_bundle_import_remote
which create a bundle from a remote and return the completed bundle back to the remote (VIMC-4457)
- Allow
orderly_bundle_import
to 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_pack
failed when the orderly tree and temporary directory were on different filesystems (VIMC-4354)
- Fixes bug where
orderly_bundle_run
failed 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_runner
which has been moved tovimc/orderly.server
(VIMC-4073)
- Add new function
orderly::orderly_config
to 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_run
andorderly::orderly_bundle_import
. This interface will be expanded and the interface may change somewhat (VIMC-3825)
- Add function
get_report_parameters
to list parameters for a report at a particular commit id (VIMC-3953)
- Add function
get_reports
to list reports available for a particular branch and commit from orderly_runner (VIMC-3945)
- Add function
git_commits
to list commits for a particular branch from orderly_runner (VIMC-3941)
- Add function
git_branches_no_merged
to 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.log
after 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_workflow
allows 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
,ref
andfetch
). 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_path
remote 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.yml
and 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 batch
using 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_batch
and 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_run
andorderly::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_search
or 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.yml
are 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
.gitignore
files withorderly::orderly_use_gitignore
(VIMC-3513, reported by @jeffeaton)
- The
orderly::orderly_develop_*
functions are now permissive and allow some invalidorderly.yml
to continue - in particular, the partially complete template generated byorderly::orderly_new
can be directly used (VIMC-3510)
- Improved error message with misformatted artefacts (VIMC-3511, reported by @jeffeaton)
- The first of
usethis
inspired 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_status
andorderly_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
pull
sub command for pulling dependencies from remote orderly servers (VIMC-3466)
- The orderly CLI runner gets an
--instance
argument (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_draft
toorderly_run
andorderly_test_start
. This will replace the use of explicitly specifyingdraft: true
in 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_start
andorderly::orderly_data
all get aninstance
argument to support this (VIMC-3302).
- The metadata now includes the state of
.Random.seed
, if present (VIMC-3375)
orderly::orderly_test_start
prints instructions that are paste-able on windows -- previously they may have contained backslashes (VIMC-3251).orderly::orderly_run
now strips a leadingsrc/
if provided, allowing easier tab-completion of report names (VIMC-3226).
orderly::orderly_test_check
is 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_start
and related functions has been severely reduced. Functionsorderly::orderly_test_end
andorderly::orderly_test_restart
have been removed andorderly::orderly_test_start
no 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_remote
have been removed (VIMC-2946, deprecated in VIMC-2944 / 0.7.2).
orderly_migrate
can 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
orderly
archive usingorderly::orderly_deduplicate
(VIMC-731).
orderly_run
now 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
orderly
db, 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.yml
now has an "args" section, rather than guessing arguments. Old configurations are valid, with a warning to update (VIMC-1986).
- Function
orderly_unzip_archive
/unzip_archive
has 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_archive
andpull_dependencies
have been deprecated in favour oforderly_pull_archive
andorderly_pull_dependencies
(respectively). Similarly,set_default_remote
becomesorderly_default_remote_set
andorderly_default_remote_get
is exported.unzip_archive
becomesorderly_unzip_archive
(VIMC-2944).
- Remove arguments
open
andextended_output
fromorderly_run
as these were not widely used (VIMC-2945)
- The concept of "publishing" a report has been removed from
orderly
in 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
config
argument to exported functions has been renamed toroot
to better reflect what is expected to be passed in (VIMC-2919)
- The
orderly_run.yml
script has now been removed andorderly_run.rds
is the sole source of truth for theorderly
run metadata (VIMC-2873).
- Allow multiple databases (or no database) to be be used in the
orderly
configuration (VIMC-2795)
- Remove old db schema (VIMC-2769)
README.md
files are automatically copied as resources from source folder. Additionally it is an error to includeREADME.md
as an artefact (VIMC-2230)- Fix passing of
timeout
through to remote runners when using themontagu
package (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_only
configuration option and can prevent running reports with references other thanmaster
. This is now enforced entirely on the server (VIMC-2642) - The
changelog
table includes the attributable public report version attributable to each changelog entry
orderly
now prompts to install missing packages and offers code to help with this (VIMC-2384)orderly run
on the command line accepts message entries (VIMC-2363, VIMC-1797)orderly
checks that the resources were not modified during running a report (VIMC-2137)
README.md
is 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
montagu
package 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).
orderly
now indicates the version that failed to run, and can move failed versions aside to complete migration of the rest of an archive.
- Requires
vaultr
0.2.0, which is a major overhaul of that package.
- Better error messages when unexpected files are found in the
orderly
archive (VIMC-1761) - Include parameters used in the
orderly
database (VIMC-2397) - Better error message when migration is needed (VIMC-2392)
orderly
works with report repository clones that lack anarchive
directory (VIMC-2383)
- Support for changelogs (VIMC-1503)
- The
displayname
anddescription
fields are correctly copied into the neworderly
database.
- New
connection
column in thereport_version
table inorderly
's database (VIMC-2327)
- New
latest
column in thereport
table 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
published
field (VIMC-2251) - New option
if_schema_changed
to rebuildorderly
database (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_start
fails 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.yml
within theorderly
root if available, then falling back on the version in the package. push_archive
, the inverse ofpull_archive
for copying an archive report elsewhere (VIMC-1811). Currently only supported forremote
as 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_run
gains a--fetch
argument, used when--ref
is specified to rungit fetch
before resolvingref
- The
orderly
runner looks up thesha
for aref
at the point of queuing, rather than the point of running - The cli tool gets a
--pull
and--fetch
argument
- Support for adding a message to a report
- Support for downloading reports from locations other than montagu. This includes a breaking change, where the
server
argument topull_dependencies
andpull_report
changes toremote
. The structure here will probably change a little further in a future version.
- Support for creating "shiny apps" as artefacts