
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
primo_central_counter
Advanced tools
This utility tries to count the number of records in Primo Central. Therefor it issues search requests which should result in disjunct results (e.g. a*
, b*
in field sid
) and retrieves TOTALHITS
for each search result.
$ gem install primo_central_counter
Usage: primo_central_counter [options]
-u, --base-url=BASE_URL Primo base url (e.g. http://primo.kobv.de) *required*
-i, --institution=INSTITUTION Institution (e.g. PAD) *required*
-c, --on-campus=ON_CAMPUS Set the on_campus flag (default: true)
-f, --index-field=INDEX_FIELD Index field to use (default: sid)
--log-level=LOG_LEVEL Enable logging (e.g. info or debug)
-v, --version Display version
-h, --help Display usage informations
The output is total record cound on STDOUT. If you enable logging, this will be outputted on STDERR.
primo_central_counter -u http://primo.kobv.de -i PAD
primo_central_counter -u http://primo.kobv.de -i PAD -l info 1> ./sum.txt 2> ./messages.txt
After checking out the repo, run bin/setup
to install dependencies. You can run bin/console
for an interactive prompt that will allow you to experiment.
To install this gem onto your local machine, run bundle exec rake install
. To release a new version, update the version number in version.rb
, and then run bundle exec rake release
, which will create a git tag for the version, push git commits and tags, and push the .gem
file to rubygems.org.
Bug reports and pull requests are welcome on GitHub at https://github.com/ubpb/primo_central_counter.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that primo_central_counter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.