SVN::Web::Log(3pm)

πŸ“¦
version 0.63 Β· 3 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

✨ NAME ✨

SVN::Web::Log β€” the SVN::Web action that shows you the log messages for a path in your repo πŸ’–

It's a User Contributed Perl Documentation page, bestie, and it's here to spill the whole tea on how logging works.


🌸 SYNOPSIS 🌸

You set it up in config.yaml, like so:

actions:
  ...
  log:
    class: SVN::Web::Log
    action_menu:
      show:
        - file
        - directory
      link_text: (view revision log)
...

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically? It shows you the log messages β€” in reverse order β€” for the interesting revisions of a given file or directory in the repository. That's it. That's the whole vibe. πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • limit β€” how many log entries you wanna fetch. Default is 20. Twenty. Not too much, not too little, immaculate number tbh.
  • rev β€” the repository revision you wanna start from. Default is the repository's youngest revision, i.e. it starts at the freshest one. periodt.

πŸ’… TEMPLATE VARIABLES πŸ’…

These are the lil' variables the template gets to play with:

  • context β€” either "directory" or "file". Pick your fighter.
  • at_head β€” a boolean, true if the log starts with the most recent revision. head empty, no thoughts, just newest rev.
  • at_oldest β€” a boolean, true if the list of revisions (revs) includes the oldest revision for this path. we love a full history moment.
  • isdir β€” a boolean, true if the given path is a directory.
  • rev β€” the repository revision that the log starts with.
  • revs β€” a list of hashes 🫢. Each entry corresponds to a particular repository revision, and has these keys:
    • rev β€” the repository revision this entry is for.
    • youngest_rev β€” the repository's youngest revision.
    • author β€” the author of this change. the main character fr.
    • date β€” the date of this change, formatted according to "Time and date formatting" in SVN::Web.
    • msg β€” the log message for this change.
    • paths β€” a list of hashes containing info about the paths that got changed with this commit. Each hash key is the path name that was modified with this commit. Each key is a hash ref of extra info about the change to this path. These hash refs have the following keys:
      • action β€” a single letter indicating the action that was carried out on the path. A file was either added "A", modified "M", replaced "R", or deleted "D". one letter, so much drama.
      • copyfrom β€” if the file was copied from another file, this is the path of the source of the copy.
      • copyfromrev β€” if the file was copied from another file, this is the revision of the file that it was copied from.
  • limit β€” the value of the limit parameter.

πŸ’€ EXCEPTIONS πŸ’€

None. Zero. Nada. Not a single one. iconic behaviour honestly.


Copyright 2003-2004 by Chia-liang Kao <clkao@clkao.org>.

Copyright 2005-2007 by Nik Clayton <nik@FreeBSD.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See <http://www.perl.com/perl/misc/Artistic.html>


okay that's the whole page bestie, no notes πŸ’œ this was perl v5.40.1, dated 2025-04-09, and it's the SVN::Web::Log(3pm) manual β€” go forth and read those logs, you absolute legend 🌈✨

πŸ“¦ where this page comes from