Skip to content

Enhancement: Better detection of pip-requirement files #18498

Closed

Description

The definition in package.json of pip-requirements could be improved and simplified in filenamePatterns.

At the moment, it does not recognize out of the box the following files, which are quite common in Django projects (before the Poetry era though):

requirements/
├── base.txt
├── prod.txt
└── dev.txt

Activity

  1. added
    triage-needed
    feature-request
    on Feb 10, 2022
  2. added
    area-editor-*
    needs community feedback
    and removed
    triage-needed
    on Feb 10, 2022
  3. karthiknadig commented on Feb 10, 2022

    @karthiknadig
    Member

    I see that you already have a PR. But we really want to see what the community says on this. The reason we want to wait is if this is not a common pattern or if it can mark files that users did not intend to be marked as pip-requirements file.

    We are going to give the community 60 days from when this issue was created to provide 7 👍 upvotes on the opening comment to gauge general interest in this idea. If there's enough upvotes then we will consider this feature request in our future planning. If there's unfortunately not enough upvotes then we will close this issue.

  4. brettcannon commented on Feb 10, 2022

    @brettcannon
    Member

    I'm going to skip the voting period based on the fact Twitter implicitly voted enough for this. 😄

  5. blfpd commented on Feb 16, 2022

    @blfpd
    Author

    Did they? 😆 Do you have the tweet link close-by?

  6. added
    verification-needed
    on Feb 16, 2022
  7. brettcannon commented on Feb 16, 2022

    @brettcannon
    Member
  8. IanMatthewHuff commented on Feb 23, 2022

    @IanMatthewHuff
    Member

    Looks good. All the example files were picked up as pip requirements file for me given the folder structure.

  9. locked as resolved and limited conversation to collaborators on Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-editor-*feature-requestverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions