Skip to content

Support ignoring of files and directories for external repository workspaces #9080

Closed

Description

@irengrig

Context: this idea was born during the discussion of Always-dirty repository rules proposal for solving the problems of work with managed directories in rules_nodejs.
(The proposal itself was declined)

Problem: inside the directories, symlinked by the custom repository rules, there are some BUILD files, which need to be ignored.
Repository rule will provide the alternative BUILD files description for targets inside the corresponding directories.

One of the approaches might be using .bazelignore file inside the external repository.
We need to create the design and implement it.

Activity

  1. self-assigned this
    on Aug 5, 2019
  2. added
    team-ExternalDeps
    untriaged
    on Aug 5, 2019
  3. irengrig commented on Aug 5, 2019

    @irengrig
    ContributorAuthor
  4. meteorcloudy commented on Aug 14, 2019

    @meteorcloudy
    Member

    FYI, @irengrig I'm now working on this ;)

  5. added
    P2
    and removed
    untriaged
    on Aug 14, 2019
  6. irengrig commented on Aug 14, 2019

    @irengrig
    ContributorAuthor

    Great!

  7. excavador commented on Sep 9, 2019

    @excavador

    Any updates?

  8. irengrig commented on Sep 9, 2019

    @irengrig
    ContributorAuthor

    Hi @excavador, @meteorcloudy, who is working on this, is on vacation until 27th of September.

    I wonder if you also need to ignore files in external repositories for some other use case then for rules_nodejs?

  9. meteorcloudy commented on Sep 30, 2019

    @meteorcloudy
    Member

    Sorry for the late rely.
    I did some investigation on this before I went to vacation. It doesn't seem to be a trivial change, we need some time to work out a proper solution.
    BTW, Bazel 1.0 is already cut, so this won't make it into 1.0.

  10. meteorcloudy commented on Nov 14, 2019

    @meteorcloudy
    Member

    I found a bug in Bazel while doing the investigation, it will be fixed while we adding .bazelignore support for external repos.

  11. added
    team-OSS
    on Jun 15, 2020
  12. removed
    team-OSS
    on Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2team-ExternalDepstype: feature request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions