dotnet / dotnet/core

Consider adding a root directly to dotnet archives

Open
#9,913 4 comments 15 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
22k
Forks
4.9k
Avg merge
5d 5h
Merged PRs (30d)
29

Description

We recently heard feedback that dotnet archive packages (.zip, .tar.gz) should include a root directory. A quick survey of archives from other platforms suggests that our pattern is unique.

Here's an example:

```bash
rich@lussier:~$ curl -O https://static.rust-lang.org/dist/rust-1.86.0-x86_64-unknown-linux-gnu.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 334M 100 334M 0 0 94.0M 0 0:00:03 0:00:03 --:--:-- 94.0M
rich@lussier:~$ tar -xf rust-1.86.0-x86_64-unknown-linux-gnu.tar.gz
rich@lussier:~$ ls rust-1.86.0-x86_64-unknown-linux-gnu
COPYRIGHT clippy-preview llvm-tools-preview rust-installer-version
LICENSE-APACHE components rls-preview rust-std-x86_64-unknown-linux-gnu
LICENSE-MIT git-commit-hash rust-analysis-x86_64-unknown-linux-gnu rustc
README.md git-commit-info rust-analyzer-preview rustfmt-preview
builder-config install.sh rust-docs version
cargo llvm-bitcode-linker-preview rust-docs-json-preview
```

The instructions from our website require a significantly more complicated model.

![Image](https://github.com/user-attachments/assets/f24ccbd3-bc4b-4507-8232-efc4e5a83857)

We should consider this change for .NET 11.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.