Skip to content

! Version 2

Emerson edited this page May 30, 2024 · 11 revisions

Version 2 is intended to make tagtracker more usable by bike parking services that are not set up the same way as Victoria's.

  • allow much more flexible tag labels (issue #427)
  • allow re-use of tags (ie track visits, not tags) (issue #394)
  • reduce device dependency (could it work in a py environment on an ipad?)
  • improve ease of installation and configuration
  • Consider whether a VTime might be a datetime, not just a time.

Commands that use a tag list

in tag* out tag* delete tag* in|out y edit tag* in|out time tag* query tag*

Reserved words: Tags can not have these as label:

Implementation notes

  • a tag 'colour' no longer has meaning since we don't know what the colours might mean
  • remove option to delete "both"

Freeform tags

  • what is a valid tag? Anything that's in config
  • fold all tags uc and compress out lead 0s in numeric sequences
  • optional re in config file to test for a valid tag format
TagID:
.simple - label in its simplest form (uc & compressed)
.comparing - folded UC and all numeric sequences made long
__new__: return self if already defined(?)