Skip to content

/drop fails when given ../ paths #6

@deansher

Description

@deansher

Issue

Although we automatically display context paths relative to the project root, using ../ syntax, dropping those with the same syntax fails. For example:

▸ Readonly Files:
../pg/rd_apps/Dockerfile
../pg/rd_apps/Makefile
../pg/rd_apps/jenkins.yaml
../pg/rd_apps/pyproject.toml
../pg/rd_apps/requirements-bootstrap.txt
../pg/search_eval/Dockerfile
../pg/search_eval/Makefile
../pg/search_eval/jenkins.yaml
../pg/search_eval/pyproject.toml
../pg/search_eval/requirements-bootstrap.txt
design-docs/yelp_docs/python_paasta_service_setup.md
design-docs/yelp_docs/yelp_docker_best_practices.md
▸ Editable Files:
.pre-commit-config.yaml
Dockerfile
Makefile
README.md
design-docs/align_with_latest_service_conventions/plan_aligning_with_latest_service_conventions.md
jenkins.yaml
llm_assistants.wsgi
mypy.ini
pyproject.toml
requirements-bootstrap.txt
serviceinit.d/llm_assistants
setup.cfg
yelp-compose.yaml
▸ WD: /app
brade> /drop ../pg/search_eval/Dockerfile
../pg/search_eval/Makefile
../pg/search_eval/jenkins.yaml
../pg/search_eval/pyproject.toml
../pg/search_eval/requirements-bootstrap.txt

─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
▸ Readonly Files:
../pg/rd_apps/Dockerfile
../pg/rd_apps/Makefile
../pg/rd_apps/jenkins.yaml
../pg/rd_apps/pyproject.toml
../pg/rd_apps/requirements-bootstrap.txt
../pg/search_eval/Dockerfile
../pg/search_eval/Makefile
../pg/search_eval/jenkins.yaml
../pg/search_eval/pyproject.toml
../pg/search_eval/requirements-bootstrap.txt
design-docs/yelp_docs/python_paasta_service_setup.md
design-docs/yelp_docs/yelp_docker_best_practices.md
▸ Editable Files:
.pre-commit-config.yaml
Dockerfile
Makefile
README.md
design-docs/align_with_latest_service_conventions/plan_aligning_with_latest_service_conventions.md
jenkins.yaml
llm_assistants.wsgi
mypy.ini
pyproject.toml
requirements-bootstrap.txt
serviceinit.d/llm_assistants
setup.cfg
yelp-compose.yaml
▸ WD: /app
brade> /drop /pg/search_eval/Dockerfile
/pg/search_eval/Makefile
/pg/search_eval/jenkins.yaml
/pg/search_eval/pyproject.toml
/pg/search_eval/requirements-bootstrap.txt

Removed read-only file /pg/search_eval/Dockerfile from the chat
Removed read-only file /pg/search_eval/Makefile from the chat
Removed read-only file /pg/search_eval/jenkins.yaml from the chat
Removed read-only file /pg/search_eval/pyproject.toml from the chat
Removed read-only file /pg/search_eval/requirements-bootstrap.txt from the chat
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
▸ Readonly Files:
../pg/rd_apps/Dockerfile
../pg/rd_apps/Makefile
../pg/rd_apps/jenkins.yaml
../pg/rd_apps/pyproject.toml
../pg/rd_apps/requirements-bootstrap.txt
design-docs/yelp_docs/python_paasta_service_setup.md
design-docs/yelp_docs/yelp_docker_best_practices.md
▸ Editable Files:
.pre-commit-config.yaml
Dockerfile
Makefile
README.md
design-docs/align_with_latest_service_conventions/plan_aligning_with_latest_service_conventions.md
jenkins.yaml
llm_assistants.wsgi
mypy.ini
pyproject.toml
requirements-bootstrap.txt
serviceinit.d/llm_assistants
setup.cfg
yelp-compose.yaml
▸ WD: /app
brade>

Version and model info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions