← Back to issue list

`fetch-lib` should work from anywhere

View original Github issue

Metadata

Project
charmcraft
Number
#1788
Type
issue
State
open
Author
PietroPasotti
Labels
Created
2024-08-05 13:26:50+00:00
Updated
2025-08-15 15:18:14+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### Bug Description `charmcraft fetch-lib` used to work from any directory, now it complains there's no charmcraft.yaml ### To Reproduce mkdir foo cd foo charmcraft fetch-lib charms.data_platform_libs.v0.s3 ### Environment tracking: latest/stable refresh-date: 3 days ago, at 16:11 CEST installed: 3.1.1 (4264) Linux 6.5.0-41-generic #41~22.04.2-Ubuntu SMP PREEMPT_DYNAMIC Mon Jun 3 11:32:55 UTC 2 x86_64 x86_64 x86_64 GNU/Linux ### charmcraft.yaml ```shell n/a ``` ### Relevant log output ```shell Project file 'charmcraft.yaml' not found in 'REDACTED'. Recommended resolution: Ensure the project file exists. ```

Evaluation history

No evaluation history available.