Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
01a84a9
Readme for the fork
mccartney Jan 15, 2022
66c3d4d
README.md
mccartney Jan 15, 2022
31f9157
renaming added to the plan
mccartney Jan 15, 2022
dfa60c9
Add tests
mccartney Jan 16, 2022
548b4f2
Ignoring natty.iml
mccartney Jan 21, 2022
f9b4857
Mention of Gradle added
mccartney Jan 21, 2022
bdddd0b
Ignoring failing tests
mccartney Jan 21, 2022
8940022
Merge pull request #2 from natty-parser/ignoring-failing-tests
mccartney Jan 21, 2022
3caac20
Renaming to org.natty
mccartney Jan 21, 2022
0662e99
Merge pull request #3 from natty-parser/renaming-to-org-natty
mccartney Jan 21, 2022
c4a0d04
io.github.natty-parser as the group id
mccartney Jan 21, 2022
3f7fce3
Merge pull request #4 from natty-parser/maven-group-id-io-github
mccartney Jan 21, 2022
c32e385
Release of 1.0.0
mccartney Jan 29, 2022
f3fb85d
Merge pull request #5 from natty-parser/1.0.0
mccartney Jan 29, 2022
721b7b5
Commitment
mccartney Feb 21, 2022
df54c29
January -> March, time flies
mccartney Mar 6, 2022
057a1b2
fix #1: fix broken tests by correcting date format
andipabst May 8, 2022
a0096a7
Add CI workflow
andipabst May 8, 2022
7291e0e
roughly group issues from original repository
andipabst May 9, 2022
b582edc
update README
andipabst May 15, 2022
ae5e83a
Merge pull request #8 from andipabst/ci-workflow
mccartney Nov 5, 2022
7fcfd35
Merge pull request #9 from andipabst/issues-list
mccartney Nov 5, 2022
38f8947
Mentioning issues.md
mccartney Nov 5, 2022
dd920b4
Merge pull request #7 from andipabst/fix-existing-tests
mccartney Nov 5, 2022
5c9af62
adding Dependabot
mccartney Nov 5, 2022
16a537b
Bump junit from 4.1 to 4.13.2
dependabot[bot] Nov 5, 2022
9a9becf
Bump antlr3-maven-plugin from 3.5.2 to 3.5.3
dependabot[bot] Nov 5, 2022
3f1b04e
Bump maven-gunit-plugin from 3.5.2 to 3.5.3
dependabot[bot] Nov 5, 2022
947af02
Bump maven-compiler-plugin from 2.3.2 to 3.10.1
dependabot[bot] Nov 5, 2022
79fd50f
Bump maven-javadoc-plugin from 2.9.1 to 3.4.1
dependabot[bot] Nov 5, 2022
eabc2a3
Bump nexus-staging-maven-plugin from 1.6.7 to 1.6.13
dependabot[bot] Nov 5, 2022
fc038dd
Bump gunit from 3.5.2 to 3.5.3
dependabot[bot] Nov 5, 2022
42839be
Bump maven-release-plugin from 2.0 to 2.5.3
dependabot[bot] Nov 5, 2022
deb0cfb
Bump antlr-runtime from 3.5.2 to 3.5.3
dependabot[bot] Nov 5, 2022
7978397
Bump slf4j-log4j12 from 1.7.10 to 1.7.33
dependabot[bot] Nov 5, 2022
30150c2
Merge pull request #11 from natty-parser/dependabot/maven/junit-junit…
mccartney Nov 5, 2022
f228b08
Bump maven-gpg-plugin from 1.6 to 3.0.1
dependabot[bot] Nov 5, 2022
a128fc1
Merge pull request #21 from natty-parser/dependabot/maven/org.apache.…
mccartney Nov 6, 2022
da7444a
Merge pull request #20 from natty-parser/dependabot/maven/org.slf4j-s…
mccartney Nov 6, 2022
cc54008
Merge pull request #19 from natty-parser/dependabot/maven/org.antlr-a…
mccartney Nov 6, 2022
a0bb7eb
Merge pull request #18 from natty-parser/dependabot/maven/org.apache.…
mccartney Nov 6, 2022
719fe19
Merge pull request #17 from natty-parser/dependabot/maven/org.antlr-g…
mccartney Nov 6, 2022
3874691
Merge pull request #16 from natty-parser/dependabot/maven/org.sonatyp…
mccartney Nov 6, 2022
c1972bd
Merge pull request #15 from natty-parser/dependabot/maven/org.apache.…
mccartney Nov 6, 2022
8b0a9d7
Merge pull request #14 from natty-parser/dependabot/maven/org.apache.…
mccartney Nov 6, 2022
accb2bd
Merge pull request #13 from natty-parser/dependabot/maven/org.antlr-m…
mccartney Nov 6, 2022
f25de18
Merge pull request #12 from natty-parser/dependabot/maven/org.antlr-a…
mccartney Nov 6, 2022
433e716
Bump ical4j from 1.0.2 to 3.2.7
dependabot[bot] Nov 6, 2022
2527d77
Bump maven-clean-plugin from 2.4.1 to 3.2.0
dependabot[bot] Nov 6, 2022
dd670fa
Bump slf4j-api from 1.7.10 to 2.0.3
dependabot[bot] Nov 6, 2022
8d881e7
Bump maven-source-plugin from 2.2.1 to 3.2.1
dependabot[bot] Nov 6, 2022
e99d10b
Merge pull request #23 from natty-parser/dependabot/maven/org.apache.…
mccartney Nov 6, 2022
ef8dbe5
Merge pull request #24 from natty-parser/dependabot/maven/org.slf4j-s…
mccartney Nov 6, 2022
633a370
Merge pull request #25 from natty-parser/dependabot/maven/org.apache.…
mccartney Nov 6, 2022
d8aa25b
Merge pull request #22 from natty-parser/dependabot/maven/org.mnode.i…
mccartney Nov 6, 2022
7659b3f
maven usage added
mccartney Nov 6, 2022
1c041f5
Release 1.0.1
mccartney Nov 6, 2022
62d107e
Release 1.0.1
mccartney Nov 6, 2022
89de0c5
#26 Fix javadoc building
schup Nov 7, 2022
9610b4f
#1 Fix unit tests on JDK 8 - directly create date instead of relying …
schup Nov 7, 2022
f04f06c
#26 use matrix java version in build
schup Nov 7, 2022
d01038b
#26 remove explicit setting of java version in compiler plugin - it i…
schup Nov 7, 2022
660e7d1
#26 github build - do not cancel other JDK builds if it fails on one JDK
schup Nov 7, 2022
49a7bcc
Update src/main/java/org/natty/Parser.java
schup Nov 7, 2022
a426652
Merge pull request #28 from natty-parser/feature/bug-#1-fix-broken-un…
mccartney Nov 7, 2022
c3354bd
Merge@sk remote@sx-tracking branch 'origin/main' into feature/bug-26-…
mccartney Nov 7, 2022
79c1910
#26 downgrade logback to 1.3.4 - for Java 8 compatibility
schup Nov 8, 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
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2
updates:
- package-ecosystem: maven
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
labels:
- "dependencies"
27 changes: 27 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Java CI with Maven

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
name: Java ${{ matrix.java_version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
java_version: ['8', '11', '17']

steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.java_version }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java_version }}
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn -B package --file pom.xml
11 changes: 7 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
.classpath
.settings
.project
.idea
workspace.xml
bin
target
src/main/java/com/joestelmach/natty/generated/*
src/main/java/org/natty/generated/*
src/main/java/*.tokens
src/main/antlr3/com/joestelmach/natty/generated/DebugDateParser.g
src/main/antlr3/com/joestelmach/natty/generated/DebugDateWalker.g
src/main/antlr3/org/natty/generated/DebugDateParser.g
src/main/antlr3/org/natty/generated/DebugDateWalker.g

# IntelliJ Idea
*.iml
.idea
7 changes: 0 additions & 7 deletions README

This file was deleted.

52 changes: 52 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
## What

Natty is a natural language date parser written in Java. Given a date
expression, natty will apply standard language recognition and translation
techniques to produce a list of corresponding dates with optional parse and
syntax information.

## History

Originally written by Joel Stelmach at https://github.com/joestelmach/natty and developed between 2010 and 2017. Abandoned since then.

## Usage
Maven:
```
<dependency>
<groupId>io.github.natty-parser</groupId>
<artifactId>natty</artifactId>
<version>1.0.1</version>
</dependency>
```

or [consult maven.org](https://search.maven.org/artifact/io.github.natty-parser/natty) for other build systems.

## Idea behind the fork

Started with [a thread in the original project](https://github.com/joestelmach/natty/issues/274). The aim is to try providing maintenance for the library.

Plan / Priorities (as of November 2022):

1. ~~Release version `1.0.0` with (possibly) the same code as the fork root, but under new name, consider renaming packages and artifacts to use `natty-parser` as the moniker, etc.~~
DONE
2. ~~Fix the tests (some are failing?).~~ DONE
3. Set up basic technicalities of the fork - Maven release process, CI (Continuous Integration), etc.
4. Start accepting contributions (PRs), encourage the community to solve [issues reported in the original repo](https://github.com/joestelmach/natty/issues)
5. Consider switching to Gradle (as this is a build tool which is modern and I am familiar with)
6. Decide on the overall vision of the project - at this point it's hard to tell, but I think a conscious decision on what is gonna be supported would be
great - i.e. focus on i18n, customization, stability, or what?

## Known issues from the parent project

See [issues](issues.md)

## Commitment

I hope for open collaboration and contributions from others. To me it's totally a side-project, not the core activity. Yet, I can commit to being (fairly) responsive and inclusive.

## Contibutions

Are more then welcome. Feel free to reach out (e.g. by creating an issue in this repo) to offer your support and ideas. I am happy to include more
maintainers. Tag @mccartney if no response for 2-3 days (I might have missed that).

I see this project potentially being welcoming to many, incl. quite junior and inexperienced developers, who would like to learn and contribute.
196 changes: 196 additions & 0 deletions issues.md

Large diffs are not rendered by default.

31 changes: 0 additions & 31 deletions natty.iml

This file was deleted.

Loading