Releases: kannibalox/pyrosimple
Releases · kannibalox/pyrosimple
v2.5.4
Fixed
- Fix regression in properly translating
custom_1.._5
fields.
Changed
pyrotorque
: ForRtorrentExporter
, scrape on the job schedule
instead of the actual http call. This helps prevent both slow scrapes
from stacking up, and duplicate RPC calls when being scraped by
multiple prometheuses.
v2.5.3
Fixed
pyrotorque
: ForTreeWatch
, fix inotify masks
v2.5.2
Added
pyroadmin config
: Add--create-config
and--create-rtorrent-rc
flags for setting up default config
Fixed
rtcontrol
: Fix--prio
rtcontrol
: Allow spaces in regexes (e.g.rtcontrol "message=/(not |un)registered/"
will work as expected now)pyrotorque
: ForQueueManager
, allow using old configuration settingsort_fields
- Properly handle spaces in comma-separated field lists
v2.5.1
Added
rtcontrol
: Addedd_<call name>
field for arbitrary rpc calls. As an example, to show thed.creation_date
of all torrent with connected peers (d.connected_peers
), you can now runrtcontrol d_peers_connected=1 -o d_creation_date
. Note that the built-in fields are still recommended due to the advanced filtering and output capabilities (currently alld_<call name>
fields are treated as strings). There are also some commands that will work under thed_<call name>
system, such asd.skip.rate
.
Fixed
- Dynamically generate timestamps during the filtering process. For example, a matcher created from
completed>1h
will still match as expected even a couple hours later. chtor
: Fix--fast-resume
lstor
: Don't throw error on empty creation date
Changed
lstor
: Error with non-zero return code when--check-data
fails- Mark package as typed
v2.5.0
BREAKING CHANGES
- HTTP URLs will no longer automatically append
/RPC2
on the end if the path isn't there. This has been deprecated since 2.3.0.
Changed
rtcontrol
: Certain floats will display less precision for better output (<field>.raw
can still be used to get the real value).rtcontrol
: Correctly detect fields from unnamed conditions combined with named ones (e.g.// is_compelete=no
would previously not prefetchd.name
)
Fixed
rtcontrol
: Fix-s *
rtcontrol
: Warn if fast query is enabled for a host withoutd.multicall.filtered
mktor
: Fix-o/--output-filename
Metafile.hash_check()
andMetafile.add_fast_resume()
now handle single file torrents the same way (#24)
v2.4.0
Changed
pyrotorque
: Overhaul TreeWatch and log format
Fixed
rtcontrol
: Correctly handle moving torrents via JSON-RPC
v2.3.3
Fixed
rtcontrol
: Properly handle--from=<hash>
multicalls- Add safety check for d.timestamp.last_active
Added
pyroadmin
: Addconfig --dump-rc
Changed
pyrotorque
: Change log format to include the job name.
v2.3.2
Fixed:
rtcontrol
: Handle complex queries better (e.g.[ seedtime>8d OR ratio>1 ] custom_1=TV
should work as expected now).rtcontrol
: Fix prefiltering for globs which include regex-like
charactersrtcontrol
: Make null durations only match on<field>==0
as per
pyrocore's behavior
v2.3.1
Fixed:
rtcontrol
: Handle multi-connection aliases properly
v2.3.0
Deprecated:
- In a future release,
/RPC2
will no longer be added to HTTP
connections
Changed:
- Defer imports to improve loading times
mktor -h lstor -h rtcontrol -h rtcontrol // -o '' Before 0.364s 0.377s 0.382s 0.469s After 0.112s 0.098s 0.141s 0.384s pyrotorque
: Changemax_downloading_traffic
to
downloading_traffic_max
, in order to match other setting names.
Added:
mktor
: Add flags for controlling min/max piece size, as well
as specifying it manually
Fixed
- Use all trackers when aggregating in example custom field code
(credit goes to @kchiem: pyroscope/pyrocore#105) pyrotorque
: Allow usingstartable
instead ofmatcher
for QueueManagerpyrotorque
: Resolve connection aliases in job definitions and CLI