Skip to content

Releases: kannibalox/pyrosimple

v2.5.4

04 Jan 02:17
Compare
Choose a tag to compare

Fixed

  • Fix regression in properly translating custom_1.._5 fields.

Changed

  • pyrotorque: For RtorrentExporter, 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

30 Dec 03:10
Compare
Choose a tag to compare

Fixed

  • pyrotorque: For TreeWatch, fix inotify masks

v2.5.2

29 Dec 20:23
Compare
Choose a tag to compare

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: For QueueManager, allow using old configuration setting sort_fields
  • Properly handle spaces in comma-separated field lists

v2.5.1

22 Dec 18:16
Compare
Choose a tag to compare

Added

  • rtcontrol: Added d_<call name> field for arbitrary rpc calls. As an example, to show the d.creation_date of all torrent with connected peers (d.connected_peers), you can now run rtcontrol 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 all d_<call name> fields are treated as strings). There are also some commands that will work under the d_<call name> system, such as d.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

10 Dec 14:53
Compare
Choose a tag to compare

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 prefetch d.name)

Fixed

  • rtcontrol: Fix -s *
  • rtcontrol: Warn if fast query is enabled for a host without d.multicall.filtered
  • mktor: Fix -o/--output-filename
  • Metafile.hash_check() and Metafile.add_fast_resume() now handle single file torrents the same way (#24)

v2.4.0

03 Dec 16:06
Compare
Choose a tag to compare

Changed

  • pyrotorque: Overhaul TreeWatch and log format

Fixed

  • rtcontrol: Correctly handle moving torrents via JSON-RPC

v2.3.3

20 Nov 18:55
Compare
Choose a tag to compare

Fixed

  • rtcontrol: Properly handle --from=<hash> multicalls
  • Add safety check for d.timestamp.last_active

Added

  • pyroadmin: Add config --dump-rc

Changed

  • pyrotorque: Change log format to include the job name.

v2.3.2

05 Nov 16:38
Compare
Choose a tag to compare

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
    characters
  • rtcontrol: Make null durations only match on <field>==0 as per
    pyrocore's behavior

v2.3.1

04 Nov 01:11
Compare
Choose a tag to compare

Fixed:

  • rtcontrol: Handle multi-connection aliases properly

v2.3.0

03 Nov 16:27
Compare
Choose a tag to compare

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: Change max_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 using startable instead of matcher for QueueManager
  • pyrotorque: Resolve connection aliases in job definitions and CLI