Project: square brackets in a path name break things
Open
Beginner friendly
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 21
- Forks
- 23
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 17
Description
- check out a project into a folder called
proj[v1]or something. Anything with square brackets. - run
openfn project deploy - It will tell you it wants to remove all workflows!!
basically what's happening here is when running Project.from('fs'), we generate a glob pattern to load workflow files from the file system. That glob breaks when there are certian characters in the name
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the problem by checking out a project under a path such as proj[v1] and running openfn project deploy. Start at the openfn project deploy entry point and the Project.from('fs') filesystem workflow loading. Done means deployment no longer interprets square brackets in the project path as glob syntax or proposes removing workflows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 72/100