libraries-repository-engine

command module
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

README

libraries-repository-engine

Test Go status Codecov Integration Test status Check Go status Check Python status Check General Formatting status Check Prettier Formatting status Check Taskfiles status Spell Check status Check Markdown status Check License status Check Go Dependencies status Check YAML status

This is the tool that generates the Arduino Library Manager index.

Every hour, the automated Library Manager indexer system runs this tool, which:

  1. checks every repository in the Library Manager list for new tags
  2. checks whether those tags meet the requirements for addition to the index, publishing logs
  3. adds entries to the index for compliant tags
  4. pushes the updated index to Arduino's download server

BUILD

task go:build

TDD

In order to run the tests, type

task go:test

RUN

Create a config.json file (or edit example one). Same thing for repos.txt file.

Run the following command to list the available command line interfaces:

./libraries-repository-engine help

Security

If you think you found a vulnerability or other security-related bug in this project, please read our security policy and report the bug to our Security Team 🛡️ Thank you!

e-mail contact: security@arduino.cc

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
backup
Package backup does backup and restore of files.
Package backup does backup and restore of files.
cli
Package cli defines the command line interface.
Package cli defines the command line interface.
command/modify
Package modify implements the `modify` CLI subcommand used by the maintainer for modifications to the library registration data.
Package modify implements the `modify` CLI subcommand used by the maintainer for modifications to the library registration data.
command/remove
Package remove implements the `remove` CLI subcommand used by the maintainer for removals of libraries or releases.
Package remove implements the `remove` CLI subcommand used by the maintainer for removals of libraries or releases.
command/sync
Package sync implements the `sync` CLI subcommand that updates the Library Manager content.
Package sync implements the `sync` CLI subcommand that updates the Library Manager content.
configuration
Package configuration handles the tool configuration.
Package configuration handles the tool configuration.
feedback
Package feedback provides feedback to the user.
Package feedback provides feedback to the user.
libraries/archive
Package archive handles the library release archive.
Package archive handles the library release archive.
libraries/metadata
Package metadata handles library.properties metadata.
Package metadata handles library.properties metadata.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL