Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add the variable OPS_DIR and OPS_FILE in ops

Open
#114 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
devops

Research direction

The issue names the current opsfile.yml and gives main.py as the example command target. Start by locating where the ops taskfile is found and its environment is assembled, then review the related documentation. Done means OPS_DIR points to the taskfile directory and OPS_FILE points to the current opsfile.yml.

Written by the indexing model from the issue text.

Description

Why you need it?

We need a variable OPS_DIR pointing to the directory where the current opsfile resides.
This is because if you change for example to $OPS_PWD you may beed to refer to the original folder of the opsfile, for example to run

uv --directory $OPS_DIR run python main.py

How it could be?

Add the OPS_DIR of the taskfile you found to the environment and document it
Also OPS_FILE to point to the current opsfile.yml is useful

Dominant language
Python
Stars
576
Forks
29
Avg merge
51m
Merged PRs (30d)
13

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/openserverless

All issues in apache/openserverless

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.