Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read oversize/regular/retired tag lists from logfile not cfg for historic data #98

Closed
Tracked by #123
tevpg opened this issue May 22, 2023 · 1 comment
Closed
Tracked by #123
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@tevpg
Copy link
Collaborator

tevpg commented May 22, 2023

Read oversize/regular/retired tag lists from logfile

What

Save tag lists to logfile, and read them from logfile for historic data.. Also, colour codes!

How

Logic is:

  • if this is historic data (not today's data) and info is in logfile, read from logfile
  • else read from config files

Note: this would be made easier if the tag-config files were all in one file.

This means that reading the logfile would take place without knowing in advance whether the tags are known: so would need to first read all the tags, then lint-check them.

Also: save retired tags list in logfile, and read from logfile.

Why

The lists of oversize/regular can change from day to day and need to accompany that day's logfile info in order to have the summary data correct. However, it would be bad if tagtracker were started up to look at an older logfile and overwrote its oversize/regular info.

@tevpg tevpg added bug Something isn't working enhancement New feature or request labels May 26, 2023
This was referenced May 27, 2023
@tevpg tevpg self-assigned this May 27, 2023
@tevpg tevpg changed the title Read oversize/regular tag list from logfile not cfg Read oversize/regular/retired tag lists from logfile not cfg for historic data May 27, 2023
tevpg added a commit that referenced this issue May 27, 2023
@tevpg
Copy link
Collaborator Author

tevpg commented May 28, 2023

@tevpg tevpg closed this as completed May 28, 2023
tevpg added a commit that referenced this issue May 28, 2023
* r/w taglists in logfile #98 #123

* much of #123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant