Summary
The main goal of this release is the implementation of the `--new` flag for `gb2_ds_get` in the [`Gbasf2Process`](https://gitlab.desy.de/belle2/software/b2luigi/-/blob/main/b2luigi/batch/processes/gbasf2.py?ref_type=heads#L31). With the new changes, the usage of the `--new` is no longer restricted to the `belle` accounting group. Additional changes include the beginning of the depreciation processes for very user-specific implementations in b2luigi such as [`b2luigi/basf_helper/data.py`](https://gitlab.desy.de/belle2/software/b2luigi/-/blob/main/b2luigi/basf2_helper/data.py?ref_type=heads) and the [`Basf2PathTask`](https://gitlab.desy.de/belle2/software/b2luigi/-/blob/main/b2luigi/basf2_helper/tasks.py?ref_type=heads#L36), and more documentation updates.
Changes
- [**`Gbasf2Process`**](https://gitlab.desy.de/belle2/software/b2luigi/-/blob/main/b2luigi/batch/processes/gbasf2.py?ref_type=heads#L31)
The addition of the method [`search_pattern_in_folder`](https://gitlab.desy.de/belle2/software/b2luigi/-/blob/main/b2luigi/batch/processes/gbasf2_utils/gbasf2_download_utils.py?ref_type=heads) now provides a way to search for the project name in the accounting group folder. This addition is necessary due to Belle II-user-based repositories' different directory structures (accounting group `belle`) and group-based repositories. From a user's point of view, nothing has to be changed. Downloads from the `gabsf2` Grid will always use the `--new` flag.
- **Deprecation**
- [`b2luigi/basf_helper/data.py`](https://gitlab.desy.de/belle2/software/b2luigi/-/blob/main/b2luigi/basf2_helper/data.py?ref_type=heads) will be entirely depricated in the future. The tasks in this file are very tailored to user-specific problems and are no longer maintained. All the default paths given for specific file structures are no longer existent.
- The [`Basf2PathTask`](https://gitlab.desy.de/belle2/software/b2luigi/-/blob/main/b2luigi/basf2_helper/tasks.py?ref_type=heads#L36) would assert the `basf2` git hash upon running the task. Since this can lead to errors when running tasks from different environments and different `basf2` releases, the assertion is now deleted. The `git_hash` parameter is kept for the `Basf2PathTask`.
- **Documentation**
- Adjusted documentation links to point to `https://b2luigi.belle2.org//`
- Instructions on how to utilise the `git_hash` parameter
- External package linking
- Update the developer instructions
- More links to the `luigi` documentation
Compatibility
The `git_hash` parameter in `Basf2PathTask` is no longer asserted. Tasks specifically depending on this assertion might display unexpected behaviour.
Contributors
Belle II collaboration.
We appreciate the continued support and contributions from the community. Thank you! :raised_hands:
**_Full Changelog_**: [v1.0.1...v1.0.2](https://gitlab.desy.de/belle2/software/b2luigi/-/compare/v1.0.1...v1.0.2)