Skip to content

Commit

Permalink
3.dockter.1 (#4)
Browse files Browse the repository at this point in the history
* #3 Savepoint

* #3 Savepoint

* #3 Savepoint

* #3 Add bin

* #3 Working python

* #3 Improving documentation

* #3 Improving documentation

* #3 Improving documentation

* #3 Fix pylint issues

* #3 Fix pylint issues

* #3 Fix pylint issues

* #3 Fix pylint issues

* #3 Prepare for versioned release

* #3 Fix gosec issues
  • Loading branch information
docktermj authored Mar 21, 2024
1 parent cb83719 commit a514ac1
Show file tree
Hide file tree
Showing 20 changed files with 4,042 additions and 988 deletions.
13 changes: 0 additions & 13 deletions .github/workflows/add-to-project-g2-python-dependabot.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/add-to-project-g2-python.yaml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/gofmt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: gofmt

on:
pull_request:
branches: [main]

permissions:
contents: read

jobs:
gofmt:
uses: senzing-factory/build-resources/.github/workflows/gofmt.yaml@v1
31 changes: 31 additions & 0 deletions .github/workflows/gosec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: gosec

on:
push:
branches:
- main
pull_request:
branches:
- main

env:
LD_LIBRARY_PATH: /opt/senzing/g2/lib

permissions:
contents: read

jobs:
gosec:
runs-on: ubuntu-latest
env:
GO111MODULE: on
CGO_ENABLED: 1

steps:
- name: checkout repository
uses: actions/checkout@v4

- name: run Gosec Security Scanner
uses: securego/gosec@master
with:
args: -verbose text ./...
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.10"]

steps:
- uses: actions/checkout@v4
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ env.bak/
venv.bak/

# venv
bin/
pyvenv.cfg

# Spyder project settings
Expand Down
2 changes: 2 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
disable=
broad-except,
consider-using-f-string,
duplicate-code,
line-too-long,
too-many-arguments,
too-many-branches,
too-many-locals,
good-names=
Expand Down
22 changes: 3 additions & 19 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
[markdownlint](https://dlaa.me/markdownlint/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [0.1.0] - 2023-03-21

- Thing 5
- Thing 4
### Added to 0.1.0

## [1.0.1] - yyyy-mm-dd

### Added to 1.0.1

- Thing 3

### Fixed in 1.0.1

- Thing 2

## [1.0.0] - yyyy-mm-dd

### Added to 1.0.0

- Thing 2
- Thing 1
- First draft based on Senzing v3.9 error codes
18 changes: 17 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,28 @@ default: help
.PHONY: hello-world
hello-world: hello-world-osarch-specific

# -----------------------------------------------------------------------------
# Build
# -----------------------------------------------------------------------------

.PHONY: build-go
build-go:
./bin/generate_go.py
gofmt -w go/main.go

.PHONY: build-python
build-python:
./bin/generate_python.py

.PHONY: build
build: build-go build-python

# -----------------------------------------------------------------------------
# Utility targets
# -----------------------------------------------------------------------------

.PHONY: clean
clean: clean-osarch-specific
clean: clean-osarch-specific

.PHONY: help
help:
Expand Down
Loading

0 comments on commit a514ac1

Please sign in to comment.