astral-uv:konstin/dummy-reporter

Last commit made on 2023-12-15
Get this branch:
git clone -b konstin/dummy-reporter https://git.launchpad.net/astral-uv

Branch merges

Branch information

Name:
konstin/dummy-reporter
Repository:
lp:astral-uv

Recent commits

095f033... by konstin

Use dummy reporter instead of option reporter

I'm experimenting with getting with of the `if let Some(reporter) = self.reporter {...}` and `with_reporter()` methods. Added bonus is that we see where we're currently loosing information, as we currently do in `BuildDispatch::install`.

a361ccf... by Charlie Marsh <email address hidden>

Remove additional metadata call in `source_dist.rs` (#652)

22c7057... by Charlie Marsh <email address hidden>

Expand environment variables in URLs (#640)

## Summary

This PR enables users to express relative dependencies via environment
variables. Like pip, PDM, Hatch, Rye, and others, we now allow users to
express dependencies like:

```text
flask @ file://${PROJECT_ROOT}/flask-3.0.0-py3-none-any.whl
```

In the compiled requirements file, we'll also preserve the unexpanded
environment variable.

Closes https://github.com/astral-sh/puffin/issues/592.

ed8dfbf... by Charlie Marsh <email address hidden>

Preserve verbatim URLs (#639)

## Summary

This PR adds a `VerbatimUrl` struct to preserve verbatim URLs throughout
the resolution and installation pipeline. In short, alongside the parsed
`Url`, we also keep the URL as written by the user. This enables us to
display the URL exactly as written by the user, rather than the
serialized path that we use internally.

This will be especially useful once we start expanding environment
variables since, at that point, we'll be able to write the version of
the URL that includes the _unexpected_ environment variable to the
output file.

eef9612... by Charlie Marsh <email address hidden>

Allow reporters to take `dyn Metadata` (#645)

1a62ca0... by Charlie Marsh <email address hidden>

Move source dist extraction into extract crate (#649)

402b728... by Charlie Marsh <email address hidden>

Use `fs_err` with `AutoStream` (#648)

db7e2de... by Charlie Marsh <email address hidden>

Move archive extraction into its own crate (#647)

We have some shared utilities beyond `puffin-build` and
`puffin-distribution`, and further, I want to be able to access the
sdist archive extraction logic from `puffin-distribution`. This is
really generic, so moving into its own crate.

3886416... by Charlie Marsh <email address hidden>

Remove `SourceDistDownload` struct (#646)

This is created in one place, then immediately destructed into fields.

e012758... by Charlie Marsh <email address hidden>

Use `fs_err` in more places (#644)