Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 91/remove erlang #100

Open
wants to merge 39 commits into
base: mainline
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
98261d2
Added tests to express #81
tyler-jachetta Jan 28, 2021
b4aacf5
Added some helper commit_message() and tag_repo() functionality to su…
tyler-jachetta Jan 28, 2021
cf564cf
Added tests so that tags which are not versions get ignored
tyler-jachetta Feb 2, 2021
5cf8c50
Tests for git flavor with version prefixes
tyler-jachetta Feb 2, 2021
7963684
WIP on git flavor prefix fixes
tyler-jachetta Feb 2, 2021
a98ed79
Merge branch 'mainline' into tjachetta/fix-git-flavor-prerelease-bumps
tyler-jachetta Feb 4, 2021
67a2e43
Fixed some issues in new tests
tyler-jachetta Feb 4, 2021
4862146
Updated git flavor to better handle tag prefixes
tyler-jachetta May 10, 2022
7b38aee
Tests: Added and updated integration tests for ansible and gitnative
tyler-jachetta May 11, 2022
2c61290
Used object properties rather than an options dict for some things
tyler-jachetta May 11, 2022
4ee91fb
Display final result
tyler-jachetta May 11, 2022
72c2f11
Updated test for new behaviour
tyler-jachetta May 12, 2022
cb7e40e
Edit: Fixed comment article choice
tyler-jachetta May 12, 2022
cbe1432
Implemented fixed git prerelease bumps
tyler-jachetta May 12, 2022
b8ee364
Fixed some bugs and removed some stale code
tyler-jachetta May 12, 2022
de24588
Made changes necessitated by the linter
tyler-jachetta May 12, 2022
4bf92ba
Merge branch 'otakup0pe:mainline' into tjachetta/fix-git-flavor-prere…
tyler-jachetta May 12, 2022
7721d88
kill your masters
tyler-jachetta May 12, 2022
2e7adc1
Merge branch 'tjachetta/fix-git-flavor-prerelease-bumps' of github.co…
tyler-jachetta May 12, 2022
8e0e17e
More futzing to try to get CI happy
tyler-jachetta May 12, 2022
02cd158
fixed git config invokation
tyler-jachetta May 12, 2022
55ba8ac
adding a debug bit
tyler-jachetta May 12, 2022
948f2f3
Seeing if this gets me my tags while I search
tyler-jachetta May 12, 2022
d2edc7e
removed `make version` dependency in make targets
tyler-jachetta May 12, 2022
6e14166
Nope, and more debugging
tyler-jachetta May 12, 2022
7f7721a
CI: using hack I found to maybe fix issue with no branches
tyler-jachetta May 12, 2022
2715712
Revert "removed `make version` dependency in make targets"
tyler-jachetta May 12, 2022
67cda15
checking if this hack makes CI happy
tyler-jachetta May 12, 2022
822c650
removed test code
tyler-jachetta May 12, 2022
4131573
fixed bug I introduced in Makefile
tyler-jachetta May 12, 2022
86a9669
Added a comment explaining provenance of some code, returned some sty…
tyler-jachetta May 12, 2022
873c94f
use f-string instead of old-style string interpolation
tyler-jachetta May 12, 2022
19dff71
Merge pull request #1 from zebrafishlabs/tjachetta/fix-git-flavor-pre…
tyler-jachetta May 12, 2022
17a2ce3
Added poetry config so that I could update pyproject.toml
tyler-jachetta May 23, 2022
13c6e4d
Removed erlang references, erl-terms and some dependencies
tyler-jachetta May 23, 2022
9509e5e
missed a reference
tyler-jachetta May 26, 2022
584bb57
Merge branch 'mainline' of github.com:tyler-jachetta/avakas into main…
tyler-jachetta Jun 21, 2022
d06cbef
removed poetry stuffs
tyler-jachetta Jun 21, 2022
80d1288
Merge branch 'mainline' into issue-91/remove_erlang
tyler-jachetta Jun 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ information for the project in a given directory. It is written with [semantic
versioning](http://semver.org/) in mind.

It currently does it's best to determine whether the given directory contains a
NodeJS, Erlang, Chef Cookbook, or Ansible project before just settling on
keeping the version in a file named `version`. If a NodeJS project is discovered
then the `package.json` will be edited. If an Ansible project is discovered then
no files will be modified but the tags will still be handled. The Erlang
detection is limited to OTP apps, and `avakas` will attempt to edit a rebar
style `foo.app.src`. If a Chef Cookbook is discovered then `avakas` will attempt
to modify the `version` attribute in `metadata.rb`.
NodeJS,Chef Cookbook, or Ansible project before just settling on keeping the
version in a file named `version`. If a NodeJS project is discovered then the
`package.json` will be edited. If an Ansible project is discovered then no
files will be modified but the tags will still be handled. If a Chef Cookbook
is discovered then `avakas` will attempt to modify the `version` attribute in
`metadata.rb`.

The avakas tool makes a few assumptions

Expand All @@ -30,7 +29,6 @@ The avakas tool makes a few assumptions
The avakas tool supports the following types of version files

* NodeJS `package.json`
* Erlang/OTP and rebar `foo.app.src`
* Chef Cookbook `metadata.rb`
* Ansible `meta/main.yml`
* Plain ol' `version` file
Expand Down Expand Up @@ -121,7 +119,7 @@ The filename to use for generating a version file.

## --flavor

Flavor of project (Presently: legacy|chef|ansible|nodejs|erlang).
Flavor of project (Presently: legacy|chef|ansible|nodejs).

## --build-meta

Expand Down
2 changes: 0 additions & 2 deletions avakas/flavors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@
from .base import AvakasLegacy
from .ansible import AvakasAnsibleProject
from .chef import AvakasChefProject
from .erlang import AvakasErlangProject
from .git import AvakasGitNative
from .node import AvakasNodeProject

__all__ = [
'AvakasAnsibleProject',
'AvakasChefProject',
'AvakasErlangProject',
'AvakasGitNative',
'AvakasLegacy',
'AvakasNodeProject',
Expand Down
53 changes: 0 additions & 53 deletions avakas/flavors/erlang.py

This file was deleted.

Loading