frozenlist.FrozenList is a list-like structure which implements
collections.abc.MutableSequence. The list is mutable until
FrozenList.freeze is called, after which list modifications raise
RuntimeError.
- fix usage display error in got merge command (patch by Mikhail)
- fix missing commits in pack files created with packed object enumeration
- avoid traversing enumerated commits more than once in got-read-pack
- fix ulimit-related test failures on sparc64 (tracey)
- got commit editor now shows log messages from backout and cherrypick (jamsek)
- new cherrypick/backout -l option to show recorded log messages (jamsek)
- new cherrypick/backout -X option to discard recorded log messages (jamsek)
- gotd: implement the delete-refs capability (op)
- fix histedit -m on a commit which only changes filemode bits
- gotsh.1: show how to set up anonymous public read-only repository access
gopls (pronounced "Go please") is the official Go language server
developed by the Go team. It provides IDE features to any LSP-compatible
editor.
Port from Laurent Cheylus (foxy [at] free dot fr) who is also taking
maintainership, thanks!
minor tweaks by me
ok sthen@
need to set EPOCH due to the version change.
Switches the port to MODGO_MODNAME to fetch the modules needed, dropping
the BDEP on net/go-net. godoc doesn't need hacks now to be built, but
gopls is not included anymore: it's provided by new devel/gopls port.
While here sync DESCR with reality and fold long lines, update HOMEPAGE
and drop redundant MODGO_TYPE=bin.
tested by Laurent Cheylus (thanks!)
ok sthen@
- fix comparison in tree object parser always evaluating to false (jamsek)
- add missing bounds-check in gitproto ref-line tokenizer
- gotd.8 and gotwebd.8 man page improvements (patch by Josiah Frentsos)
- make gotd session process accept just one flush packet at a time
- sort ENVIRONMENT entries in got.1 and tog.1 (op)
- only forward implicit flush packets from gotsh if they are expected
- return GOT_ERR_EOF from pkt.c if a read attempt indicates EOF
- treat read errors from client socket in gotsh as fatal errors
- gotwebd: refactor gotweb_render_content_type/_file (op)
- gotwebd: turn gotweb_get_time_str into gotweb_render_age (op)
- gotwebd: don't list references per-commit in got_get_repo_commits (op)
- gotwebd: avoid history traversal in briefs/commits, kill "prev" button (op)
- gotd: disconnect on client EOF error to avoid stale connections (op)
- gotsh: validate with parse_command before connecting (op)
- add a test for ssh connections to gotsh without a repo path argument (op)
- gotsh: avoid a temporary buffer for the socket path (op)
- gotsh: move apply_unveil right after the first pledge (op)
- fix tog refreshing the screen more often than intended (jamsek)
- tog: show action report on user-toggleable event (patch by Mikhail, jamsek)
- don't print empty line when exiting tog (jamsek)
- got: don't leak pathlist in commit and revert commands (jamsek)
- gotd: fix wrong PIDs for parent and child processes shown in logs
scanf is an implementation of the C function scanf(3), modified as
necessary for Ruby compatibility.
The methods provided are String#scanf, IO#scanf, and Kernel#scanf.
Kernel#scanf is a wrapper around STDIN.scanf. IO#scanf can be used on
any IO stream, including file handles and sockets. scanf can be called
either with or without a block.
Scanf scans an input string or stream according to a format, as
described below in Conversions, and returns an array of matches between
the format and the input. The format is defined in a string, and is
similar (though not identical) to the formats used in Kernel#printf and
Kernel#sprintf.
The format may contain conversion specifiers, which tell scanf what form
(type) each particular matched substring should be converted to (e.g.,
decimal integer, floating point number, literal string, etc.) The
matches and conversions take place from left to right, and the
conversions themselves are returned as an array.
The format string may also contain characters other than those in the
conversion specifiers. Whitespace (blanks, tabs, or newlines) in the
format string matches any amount of whitespace, including none, in the
input. Everything else matches only itself.
Scanning stops, and scanf returns, when any input character fails to
match the specifications in the format string, or when input is
exhausted, or when everything in the format string has been matched. All
matches found up to the stopping point are returned in the return array
(or yielded to the block, if a block was given).
This is a port of the Typesafe Config library to Ruby.
The library provides Ruby support for the HOCON configuration file
format.
At present, it supports parsing and modification of existing HOCON/JSON
files via the ConfigFactory class and the ConfigValueFactory class, and
rendering parsed config objects back to a String. It also supports the
parsing and modification of HOCON/JSON files via ConfigDocumentFactory.
new dependency of Puppet
feedback and OK jeremy@