Roger Peppe

Results 187 issues of Roger Peppe

When we've previously checked out a version of a dependency in a gohack module dir and we want to keep that version instead of switching to the version specified in...

enhancement

If we try to replace two modules in the same repository, the current gohack scheme of checking out to a single global root won't work well because the two modules...

The documentation does not make it clear whether paths of the form: ``` /prefix:foo ``` are allowed. These are currently supported by httprouter, but don't seem quite in the spirit...

bug

Unmarshaling into a map with int keys will result in a panic. Although this key type is expressly forbidden, it would be more friendly to return an error in this...

A tab is illegal white space in YAML. It should cause an error, not a silent corruption of the data. This code: https://go.dev/play/p/HwC5xKmB87D ``` data := "foo: |\n\ta b\n\tc\nbar: hello\n"...

bug

According to the YAML spec, an [indentation indicator](https://yaml.org/spec/1.2.2/#8111-block-indentation-indicator) can be used when there are leading spaces in a multiline string. These don't work correctly in this YAML implementation. For example,...

This brings README.md and the usage printed by the command into sync, and also adds information about available attributes. I've reverse-engineered the descriptions from my idea of what the code...

Sometimes it's useful to be able to search an arbitrary portion of a Go program (for example to see where any identifiers named "a" are within a given function). It...

The online docs for setting up a GCP server suggest running: upspin setupstorage-gcp -domain=example.com -project= example-com-upspin but this subcommand no longer seems to exist.

Here's an idea for an API to make it easier to wait for a given condition to become true: ``` package quicktest import "github.com/rogpeppe/retry" // Eventually calls its provided function...

enhancement