canonical / canonical/craft-application

Set the project environment in the Lifecycle Service

Open
#320 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
14
Forks
29
Avg merge
2d 3h
Merged PRs (30d)
12

Description

### What needs to get done

Set the project's environment in the Lifecycle Service. There are two potential solutions described [here](https://github.com/canonical/craft-application/pull/318#discussion_r1576953260).

### Why it needs to get done

`CRAFT_PROJECT_NAME` and `CRAFT_PROJECT_VERSION` are not available as environment variables in the build environment.

See #318 for context

Contributor guide

Open the contributing guide

Research direction

Start with the Lifecycle Service and read the two proposed solutions in PR #318's discussion, then review issue #318 for context. Verify which approach makes CRAFT_PROJECT_NAME and CRAFT_PROJECT_VERSION available in the build environment when the project's environment is set.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.