Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B buck
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • buck
  • Issues
  • #1806
Closed
Open
Issue created Mar 15, 2018 by Administrator@rootContributor

Deprecating usage of directories in export_file.

Created by: styurin

Exporting directories gives us less control over what is used as an input of a rule and can potentially introduce rule key divergence. The risk of encountering this problem is higher in local development (some editors can leave temporary or backup files next to the original files) and also with some tools that use temporary files (like code generators.)

The general recommendation is to use glob to declare inputs from a directory, zip_file to pack multiple files in one file or genrule without a directory as an output.

3a3f7e06 introduced an option to disable support. This option can be used to find all violations and refactor them.

We plan to remove this functionality in future versions.

Assignee
Assign to
Time tracking