Skip to content

adbc-drivers/dev

Developer Tools for ADBC Drivers

This repository contains common infrastructure (pre-commit hooks, reusable workflows for GitHub Actions, etc.)

Contributing

See CONTRIBUTING.md.

Installation & Usage

pre-commit: License Header Check

The pre-commit hook runs Apache RAT, which checks and ensures proper copyright/license headers are present.

Add this repository to your .pre-commit-config.yaml:

- repo: https://github.com/adbc-drivers/dev
  rev: "<latest rev on main>"
  hooks:
  - id: rat

GitHub Actions

There are various reusable workflows. They can be used by adding a uses: clause to your own workflow. For example:

jobs:
  lint:
    uses: adbc-drivers/dev/.github/workflows/dev.yaml@REVISION
  • dev.yaml: runs pre-commit and checks that the PR title meets the Conventional Commits standard.
  • dev_issues.yaml: intended to be run when a "take" comment is made on an issue. Assigns the issue to the commenter.
  • release.yaml: create a draft release on GitHub with an attached changelog.
  • test.yaml: build and test a Go-based driver. If tests pass, also create shared libraries for each platform/architecture.
  • validate.yaml: run the validation suite.

Utility Scripts

You can pip install . to install the utility scripts. This should be done with a virtual environment or Conda environment active.

About

Common development tooling and CI configuration

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •