Releases: ArtifactDB/SewerRat
Releases · ArtifactDB/SewerRat
latest
Streamlined management of the verification session codes. We eliminate the pooled locks for simplicity. The verification sessions are protecting SQLite writes and those must be serial anyway, so there is no overall performance gain from parallelizing the locking. We shift the expiry of each verification code into a goroutine that is spawned during the provisioning process. This guarantees that the expiry happens in a more timely manner than flushing old codes at regular intervals.
1.1.0
Use more conventional wildcards for pattern matching. (#16) The usual ? and * wildcards are more intuitive. Also, there's no reason to expose the user to the fact that we're using SQLite under the hood. We rename the 'partial' property to 'is_pattern', which is more intuitive. The same option is also used for pattern matching on paths for consistency.
1.0.13
Include boolean and numeric fields into the search index. (#14) This ensures that all of the information in the metadata document is captured. We take the easy option and just stringify the bools/numbers. We don't support querying bools/numbers anyway, so no point doing anything special right now.
1.0.12
Allow symlinked directories to be registered. We already allow symlinks in the parents of the registered directory, so we might as well allow the symlinked directory itself to be registered. Also centralized the logic for checking that a path is indeed a directory. This allows us to get rid of another Lstat call.
1.0.11
Support manual skipping of subdirectories during indexing. This provides an easy mechanism for excluding subdirectories from the search. The intended use is to allow users to ignore older versions of a resource by just creating a .SewerRatignore file in those versions' subdirectories.
1.0.10
Updated versions of all dependencies.
1.0.9
Use separate SQLite connection pools for reading and writing. By only allowing a single write connection, we can leverage database/sql's auto-blocking behavior to avoid SQLITE_BUSY errors on multiple write requests.
1.0.8
Centralize definition of timeout units in the argument parsing. This avoids confusion over what the units are when Durations get passed around. We also fix a bug in the exponential backoff for the polling.
1.0.7
Remove unnecessary argument from tokenizeMetadata's recursion.
1.0.6
Cleaned up the CLI option documentation.