Skip to content

build: mark target/ and pg_install/ with CACHEDIR.TAG #8448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

problame
Copy link
Contributor

@problame problame commented Jul 21, 2024

Backup tools such as tar and restic recognize this.
More info: https://bford.info/cachedir/

NB: cargo should create the tag file in the target/ directory
but doesn't if the directory already exists, which happens frequently
if rust-analyzer is launched by your IDE before you can type
cargo build. Hence, create the file manually here.
=> rust-lang/cargo#14281

Backup tools such as restic recognize this.
More info: https://bford.info/cachedir/

NB: cargo _should_ create the tag file in the `target/` directory
but doesn't if the directory already exists, which happens frequently
if rust-analyzer is launched by your IDE before you can type
`cargo build`. Hence, create the file manually here.
=> rust-lang/cargo#14281
Copy link

github-actions bot commented Jul 21, 2024

3169 tests run: 3048 passed, 0 failed, 121 skipped (full report)


Flaky tests (1)

Postgres 16

  • test_scrubber_physical_gc_ancestors[2]: release

Code coverage* (full report)

  • functions: 32.6% (7002 of 21459 functions)
  • lines: 50.0% (55262 of 110496 lines)

* collected from Rust tests only


The comment gets automatically updated with the latest test results
bb52299 at 2024-07-21T16:18:46.790Z :recycle:

@problame problame requested review from bayandin and arpad-m and removed request for bayandin July 21, 2024 15:58
@problame problame merged commit 6237322 into main Jul 22, 2024
66 checks passed
@problame problame deleted the problame/pg_install-cachedir-tag branch July 22, 2024 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants