kebechet icon indicating copy to clipboard operation
kebechet copied to clipboard

requirements manager with overlays

Open KPostOffice opened this issue 2 years ago • 3 comments

Problem statement

Currently requirements manager only works if the pipenv files are in the root directory. Logic should be added — similar to that in adviser — to create requirements.txt files in overlay directories.

High-level Goals

requirements manager in project with overlays directory will create requirements.txt in overlay directories

Proposal description

Add a loop for a list of environments to the pipfile_requirements manager

Acceptance Criteria

  • [ ] example

KPostOffice avatar Nov 29 '22 15:11 KPostOffice

@KPostOffice Does this issue solve the issue?

Gkrumbach07 avatar Jan 31 '23 19:01 Gkrumbach07

It doesn't quite, though the changes should be minimal. This issue requires adding code to get the location of the requirements file somewhere around here. The basic idea is if overlays_dir is set then all the work should be done in <overlays_dir>/<environment_name> rather than the root directory

KPostOffice avatar Jan 31 '23 21:01 KPostOffice

/triage accepted /priority backlog

acceptance criteria

  • [ ] use location of overlays_directory if set

Gkrumbach07 avatar Feb 01 '23 13:02 Gkrumbach07