Skip to content

v1.4.0 #311

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

Merged
merged 12 commits into from
Mar 28, 2025
Merged

v1.4.0 #311

merged 12 commits into from
Mar 28, 2025

Conversation

chStaiger
Copy link
Collaborator

  • improve aliasing

  • add cwd to session

  • add metadata options to CLI

  • test against iRODS 4.3.4

qubixes and others added 12 commits December 2, 2024 16:33
Adds:

* ibridges meta-show: show the metadata for a collection or dataobject.
* ibridges meta-add: Add one new metadata entry for a collection or dataobject.
* bridges meta-del: Delete one, multiple or all metadata items using the key/value/units.
* ibridges list --metadata: List the collection, including all metadata of the listed items.
* ibridges list --short: Mimics Unix ls with no options.
*  ibridges list --long: Shows checksums and sizes of data objects.
*  ibridges ls alias for ibridges list
*  ibridges meta alias for ibridges meta-list

Deprecates:

* MetaData.set: I think we should remove this method for 2.0, since the behavior can be easily emulated with two commands (delete/add).

Improvements:

* IrodsPath.walk: Performance with depth==1 should be improved for large collections.


---------

Co-authored-by: Staiger, Christine <christine.staiger@wur.nl>
* importlib-meta version

* Update pyproject.toml

---------

Co-authored-by: qubixes <44498096+qubixes@users.noreply.github.com>
Ensure that we use the same branch for the Docker setup,
ruleset and portal.
Newly added exceptions about DataObjectNotFound, CollectionNotFound, NotACollection, etc.
* Remove kwargs and print warning ignored options

* Fix docstrings

* Allow more arguments..

* Fix test

* Update naming

* Fix warning trigger

* Fix warning test
* explicitly install runtime and icommands on server

* upgrade to irods434
* Rework aliases to make them more user friendly

Also add cd/pwd subcommands

* Add docs

* Update aliasing work

* Fix pwd/cd

* Fix renaming alias

* Fix f

* Fix show-max for tree

* Fix default ipath to cwd not home

* Fix tests

* Fix mypy

* Fix optional

* Fix issue with disappearing aliases

* Update ibridges/__main__.py

Co-authored-by: chStaiger <c.staiger@uu.nl>

* Validate ibridges configuration

* Add validation

* Move configuration to separate file

* Rework more

* Prevent error

* Allow alias for default location to be edited

* Fix error

* Fix default

* Ask user to delete file

* Ask for permission to delete config file

* Fix exception printing

* Fix legacy ibridges configuration

* Fix more issues

* Fix pylint

* Fix pylint issue

* Fix?

* Even more arguments

* Make directory if needed

* Limit the amount of writes to the cli file

* Update CLI documentation

* Add tests for aliases, cd, pwd

* Update copy command

* Fix test

* Fix more tests

* Finally fix tests

* Try this for YoDa

* Remove last test

* Minimize the number of .irodsA writes

* adding section about cwd

* if home is irodspath cast to str to prevent bug

* Make cwd of Session compatible with IrodsPath

---------

Co-authored-by: chStaiger <c.staiger@uu.nl>
Co-authored-by: Staiger, Christine <staigerchristine@gmail.com>
@chStaiger chStaiger merged commit bc310bc into main Mar 28, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants