Releases: paulscherrerinstitute/scicat-cli
Releases · paulscherrerinstitute/scicat-cli
v3.0.0-alpha3
Changelog
- cfdb5e9 a couple of corrections and comment updates
- c764a27 a couple of corrections and comment updates
- f05e6d2 add TODO and NOTE comments, rename some variables and functions in datasetIngestor related code, simplify code
- d57fb5f add args test to datasetIngestor
- 456197a add common flags that are shared between commands (user, token, config)
- 7e376b9 add globus transfer option (untested for now)
- 4359a0d add new command: "globusCheckTransfer", fix a small bug in datasetIngestor package
- 3f31a66 add source and destination prefix paths for globus, fix various bugs, add further checks
- cc4e993 adjust datasetIngestor to library changes
- 15e8039 adjust datasetIngestor to library changes
- 9ad2a1d adjust datasetIngestor to library changes
- d55c0a4 adjust datasetIngestor to renamed functions
- 2621e3b authentication refactor
- 435025e avoid logs, return errors in checkDataCentrallyAvailable
- b2b10c0 break up command into functions
- 905ecfc change ioutil to io (ioutil is deprecated)
- bf5de6f checkDataCentrallyAvailable: specify os in error message
- 4581a68 checkDataCentrallyAvailable: ssh now outputs into a param available for caller
- 09c7c7e checkMetadata: avoid logs, return errors
- ea9af2e checkMetadata_test: add extra check for invalid keys
- 640dfd6 checkMetadata_test: fix a bug related to undeterministic order of keys
- b76fbc0 checkmetadata: make internal functions available, add descriptions
- a602c5e createJob: rename function to createArchivalJob
- 6912f2d dataset ingestor cmd: announce local filelist gathering operation, adjust a comment
- 41e4eda datasetIngestor: adjust to library changes, add filename checker callback function
- 62fda76 don't disable copying for beamline users
- e5cc2bc fix a potential bug in add attachment
- bbabf95 fix copy disabling for beamline users (again)
- 88e07c1 fix datasetIngestor
- 7cae253 fix error messages
- 66b1f5f fix return error
- 8e35da7 fix the check for changed 'allowexisitingsourcefolder' flag, fix symlink handler
- e8a8aec fix typos
- 54b6a20 fix up a variable name
- d90ffcb getLocalFileList: - refactor symlink handling - optional callback function - by default only allows symlinks that don't go outside the source folder
- 87bfc61 getLocalFileList: - refactor symlink handling - optional callback function - by default only allows symlinks that don't go outside the source folder
- aeb06ec getLocalFileList: filename check is now a callback
- 836d1f0 getLocalFileList: fix symlink path handling
- e232705 getLocalFileList: remove remainder of logging
- 7ed2630 improve add attachment
- 5aa7756 improve assmebleFilelisting, datasetIngestor command
- 8d7c67f improve checkMetadata
- 46bec7c improve create job
- 004f9dc ingestDataset: fix error message
- 5e4f554 make 'version' flag global
- f725229 make transfer config dependent on copyFlag, fail if autoarchive is demanded for globus transfers
- 41fdaf3 modify commands to reflect naming changes
- 273916f move 'authenticate' function to CLI
- 95519a1 refactor GlobusLogin function for simpler return signature
- 3bd54fc refactor archiver code
- 63c5f81 refactor create/delete dataset entry
- 55a1b86 refactor dataset cleaner code
- 7c12719 refactor dataset get proposal code
- 068aa9a refactor dataset publish data code
- 6355e66 refactor dataset publish data retrieve code
- 550c684 refactor dataset retriever code
- 0e1db34 refactor datasetIngestor command further
- a4b0635 refactor wait for job finished code
- 42f6368 remove commented line
- 3f8c65a remove commented out logs
- db56358 remove commented out logs
- 9cb3082 remove commented out logs
- 96bbcb9 remove logs, adjust to changes
- b5c7d93 remove useless lines
- 64b2948 rename files in datasetIngestor/
- e73bcd6 revert copy condition for transfer configuration
- 688b4de sendFilesReadyCommand: return errors, avoid logging
- f8f457b sendIngestCommand: better error handling, avoid logging
- 105b990 simplify arg length checks
- 8eb2d2c small fix for ingestor code
- 25d256e syncDataToFileserver: redirect progress report to optional variable
- e8fc169 syncDatgaToFileserver: remove remaining logging
- 6865779 testForExistingSourceFolder refactor
- e2e969f testForExistingSourceFolder: fix a bug that discarded the gathered list
- 046dbb8 testForExistingSourceFolder: remove logging
- 5b6be13 throw error in checkUserAndOwnerGroup if 'ownerGroup' is missing in metadata
- c32560b update dataset archiver to handle CreateJob error
- f52e86a update lint ci
- f92c60a updateMetaData: change pointer parameters into pass-by value, avoid logging, better error handling
v3.0.0-alpha2
Changelog
- 60e2957 SciCat CLI v3.0.0 alpha (#85)
- 75a3760 add parameter tests for datasetArchiver
- bed67ac add parameter tests for datasetCleaner
- 864e223 add parameter tests for datasetGetProposal
- 7396307 add parameter tests for datasetIngestor
- 58a36ee add parameter tests for datasetPublishData
- 50e4cb4 add parameter tests for datasetPublishDataRetrieve
- 844ed38 add parameter tests for datasetRetriever
- 0ef126f add parameter tests for waitForJobFinished
- 2110446 add test func
- ec0bef1 add v2 backwards compatibility shell scripts for automation purposes
- c817113 add v2 scripts as separate archive in releases
- 54788c0 add warning message to bw compat scripts
- 0df1ed6 better README comprehensibility
- 3db4230 remove outdated comments
- ea994d0 small README corrections
- aab90a7 update README.md with v3 changes and v2 back compat information
- ebde24e update goreleaser action to v6
- 60e70ab update readme to describe backwards compatibilty solution
v3.0.0-alpha1
Changelog
- 73abfd2 adapt main functions into cobra commands
- 97757f2 add fundamental cobra code
- 75a3760 add parameter tests for datasetArchiver
- bed67ac add parameter tests for datasetCleaner
- 864e223 add parameter tests for datasetGetProposal
- 7396307 add parameter tests for datasetIngestor
- 58a36ee add parameter tests for datasetPublishData
- 50e4cb4 add parameter tests for datasetPublishDataRetrieve
- 844ed38 add parameter tests for datasetRetriever
- 0ef126f add parameter tests for waitForJobFinished
- 2110446 add test func
- 285c138 move individual cli main.go's into commands subfolder
- 1e77318 rewrite tests for cobra
- d81be61 set goreleaser to prerelease mode if the version in the tag is non-final
- 2613818 update dependencies, readme and goreleaser
v2.2.2
What's Changed
- Update README with better deployment instructions by @sbliven in #76
- Reference download manual by @minottic in #78
- Strip v from binary version and reference download by @minottic in #77
## Tests and refactors
- Test and refactor
GetDatasetDetails
by @kavir1698 in #65
New Contributors
Full Changelog: v2.2.1...v2.2.2
v2.2.1
What's Changed
- Remove the
-z
option from rsync by @kavir1698 in #71 - Change release tarball formatting by @kavir1698 in #64
Tests and refactors
- Refactor and test
AddAttachment
by @kavir1698 in #46 - Test the Authenticate function by @kavir1698 in #38
- Replace
io/ioutils
as it is deprecated by @kavir1698 in #45 - Add tests for
createDatasetEntry
by @kavir1698 in #47 - Add tests for
getFileOwner_unix
by @kavir1698 in #48 - Add tests for
SendFilesReadyCommand
by @kavir1698 in #49 - Use latest versions of Github actions by @kavir1698 in #62
- Update the README by @kavir1698 in #63
- Test and refactor
TestForExistingSourceFolder
by @kavir1698 in #52 - Test
updateMetaData
by @kavir1698 in #51 - Test and refactor
GetArchivableDatasets
by @kavir1698 in #60 - Test functions in
scp.go
by @kavir1698 in #56 - Bump gopkg.in/yaml.v3 from 3.0.0-20200313102051-9f266ea9e77c to 3.0.0 by @dependabot in #72
- Test
CreateJob
by @kavir1698 in #57 - Test
sendIngestCommand
by @kavir1698 in #50 - Test
getJson
by @kavir1698 in #67 - Test and refactor
GetProposal
by @kavir1698 in #68 - Test and refactor
CreateRetrieveJob
by @kavir1698 in #59 - test
GetAvailableDatasets
by @kavir1698 in #61
Full Changelog: v2.2.0...v2.2.1
v2.2.0
v0.1.5
Changelog
- fe1bf21 Add golangci-lint to workflows (#34)
- 826336e Change GitHubMainLocation to service-availability branch (#37)
- 817002b Make checkForNewVersion function not stop the code (#33)
- 6f0f77b Remove .gitlab_ci.yml (#36)
- fd880fd Remove interactive flag from CheckForNewVersion (#35)
- 99d9ba1 Remove the condition that ignores files in
AssembleFilelisting
(#40)