devel/py-localstub: New port
localstub is a Python library and CLI for testing HTTP clients
against the behavior of a real server. It runs an asyncio HTTP
server in your test process, returns whatever responses you
configure, including error responses, slow responses, disconnects,
and records each request exactly as it arrived on the wire for
your tests to inspect.
A TLS proxy is provided so you can test your clients without
having to make any config changes, most HTTP clients support
HTTPS_PROXY and some environment variables for specifying
a CA_BUNDLE. This also lets you inspect existing HTTP clients
to see the exact bytes they are sending to servers.
Approved by: hrs (mentor)
devel/py-awscli2: New port
The AWS Command Line Interface v2 (AWS CLI) is a unified tool to
manage your AWS services from the command line.
The AWS CLI provides direct access to the public APIs of AWS
services. You can explore a service's capabilities with the AWS
CLI, and develop shell scripts to manage your resources.
In addition to the low-level, API-equivalent commands, several
AWS services provide customizations for the AWS CLI.
Customizations can include higher-level commands that simplify
using a service with a complex API.
AWS CLI v2 includes:
- Improved installation mechanism
- AWS IAM Identity Center (SSO) support
- Interactive features with auto-prompting
- Server-side auto-completion
- Built-in pagination with less
[8 lines not shown]
Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull SCSI fixes from James Bottomley:
"Bug fixes, mostly in drivers. The only core change is to add service
action in to the SCSI ioctl to support ATA depopulation.
The largest driver fix is in ufs (decouple device lifecycle from
devres) and the next largest is in the target code (compare all six
ISID bytes identifying nexus) in the persistent reservation path"
* tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
scsi: mpt3sas: Validate data_out size before SMP link-reset check
scsi: ufs-mediatek: Restore the M-PHY power state when va09 disable fails
scsi: ufs-mediatek: Use devm_regulator_get() for the va09 regulator
scsi: target: core: Compare all six ISID bytes when identifying a nexus
scsi: target: core: Disable protection processing for zero-block transfers
scsi: target: iscsi: Run the Time2Retain handler in process context
scsi: mpt3sas: Fix out-of-bounds cpu_msix_table read on CPU hotplug
scsi: pm8001: Offset hardware queue index for MSI-X pre-vector
[10 lines not shown]
(devel/R-covr) Updated 3.6.5 to 4.0.0
# covr 4.0.0
This is a major release. It changes how coverage is counted in several places,
which can lower the coverage covr reports for the same tests; see "Changes to
reported coverage" below.
## Changes to reported coverage
* Reported line coverage may decrease slightly, as it is now computed the same
way everywhere, so `print()`, `percent_coverage()`, `tally_coverage()`,
`report()`, `codecov()`, `coveralls()`, `cobertura()`, `sonarqube()` and
`lcov()` agree. A line only counts as covered if all its expressions ran,
e.g. `if (x) a else b` on one line where `a` never ran is now uncovered in
`report()`, `codecov()` and `coveralls()`. Lines shared by several
functions, such as `f <- function() 1; g <- function() 2`, are counted once,
and `print()` and `percent_coverage()` only count lines with code, not lines
with only punctuation such as `}` (#620).
[570 lines not shown]
when completing a resumed partial upload, propagate error status if
the truncation operation fails. Avoids leaving the tail of a previous
file intact without informing the user if the server fails while
wrapping up the upload.
Anthropic ANT-2026-079NWK7L
vm: refuse mmap() of files on msdosfs and ntfs with small clusters
msdosfs and ntfs with clusters smaller than a page read a file through
separate cluster buffers, so one page covers several clusters that
cannot back a coherent mapping of the file.
Add the internal mount flag MNTK_NOMMAP, set it at mount time when the
cluster size is below PAGE_SIZE (it cannot change on a remount), and
fail mmap() of a regular file on a flagged mount with EOPNOTSUPP.
The check sits in vm_mmap(), which both mmap(2) (via kern_mmap()) and
fp_mmap() call. Image activation is not covered: imgact_elf inserts
the vnode object directly, so a binary stored on a flagged mount is
still mapped while it runs.
Side effects on such mounts: tail(1) and md5(1) with offsets use mmap()
and thus fail with "Operation not supported". cat(1), cp(1), cmp(1) and
md5(1) of whole files work. A shared library stored there cannot be
loaded by rtld(1).
[3 lines not shown]
[mlir][Presburger] Add IntegerRelation::gist (context-based simplification)
Add IntegerRelation::gist(context), a port of ISL's isl_basic_map_gist
(uset_gist / uset_gist_full), along with the supporting row-reduction
helpers IntMatrix::rowReduce and IntegerRelation::reduceUsingEqualities.
Supporting helpers:
- IntMatrix::rowReduce: performs Gauss-Jordan row reduction in place
along a caller-specified column order, swapping pivot rows to the top,
normalizing modified rows by GCD, and returning the pivot columns
(with unit tests in MatrixTest.cpp).
- IntegerRelation::eliminateVarUsingEquality(ArrayRef, col): eliminates
a variable from every constraint using an external equality row.
- IntegerRelation::reduceUsingEqualities: orchestrates IntMatrix::rowReduce
to project context equalities onto involved variables, detect
inconsistent equalities, and rewrite all constraints of a relation
using the remaining equalities (port of ISL's
isl_basic_set_reduce_using_equalities with project_onto_involved).
[58 lines not shown]
[mlir][Presburger] NFC: extract eliminateColumnUsingRow and eliminateVarUsingEquality
Extract IntMatrix::eliminateColumnUsingRow (eliminating a column from a
row using a pivot row with the smallest positive multiplier on the row)
and IntegerRelation::eliminateVarUsingEquality (applying it to every
other equality and every inequality of the relation).
Replace the file-local eliminateFromConstraint helper with these
primitives in gaussianEliminateVars, gaussianEliminate, and
removeRedundantLocalVars, and add a unit test for
IntMatrix::eliminateColumnUsingRow.
[Clang][AMDGPU] Remove redundant isAMDGCN checks. NFC
After the r600 target removal, AMDGPUTargetInfo is only created for
the amdgcn triple, so every `isAMDGCN()` check in it is always true.
Drop those checks and the helpers that only wrapped them.
```
if (hasFMAF())
Builder.defineMacro("__HAS_FMAF__");
-->
Builder.defineMacro("__HAS_FMAF__");
```
RFC: https://discourse.llvm.org/t/rfc-amdgpu-deprecating-and-removing-llvm-s-r600-terascale-backend/92840
[Clang][AMDGPU] Remove R600 target support
Remove the r600 triple from the clang frontend, driver and CodeGen,
together with the `__R600__` macro and the `__builtin_r600_*` builtins.
AMDGPUTargetInfo now only handles amdgcn, so the R600 branches are gone.
```
$ clang --target=r600 -S test.cl
error: unknown target triple 'r600'
```
RFC: https://discourse.llvm.org/t/rfc-amdgpu-deprecating-and-removing-llvm-s-r600-terascale-backend/92840