Skip to content

Commit

Permalink
updated to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
fracpete committed Oct 4, 2024
1 parent 87556d9 commit a37e0ae
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 22 deletions.
36 changes: 16 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The code base of *tiny-weka* is synced (manually) with Weka's subversion reposit
revision:

```
31f46b79 # git commit hash
r3cbb52f21 # git commit hash
```

## Maven
Expand Down Expand Up @@ -64,14 +64,14 @@ Python script.
usage: update.py [-h] -w, --weka DIR -c, --commit HASH [-g, --git EXECUTABLE]
[-n, --dry_run] [-v, --verbose]
Analyzes the git log from the specified revision on and then updates the code
accordingly. It stores the start/end git hash in 'update.rev' after execution.
Analyzes the git log from the specified commit hash on and then updates the
code accordingly. It stores the start/end git commit hash in 'update.rev'
after execution.
optional arguments:
-h, --help show this help message and exit
-w, --weka DIR the directory with the Weka subversion repository
(HEAD)
-c, --commit HASH the git hash to start from
-w, --weka DIR the directory with the Weka git clone (HEAD)
-c, --commit HASH the git commit hash to start from
-g, --git EXECUTABLE the git executable to use if not on the path
-n, --dry_run whether to perform a dry run, i.e., only simulating
the update
Expand All @@ -80,7 +80,7 @@ optional arguments:

Example:

```commandline
```bash
python3 update.py \
-w /some/where/weka-HEAD/ \
-c 87a3264c \
Expand All @@ -104,22 +104,18 @@ The `remove_gpl.py` script can be used to remove the GPL preamble from any
Java file that still contains it, e.g., when manually copying over files.

```
usage: update.py [-h] -w, --weka DIR -c, --commit HASH [-g, --git EXECUTABLE]
[-n, --dry_run] [-v, --verbose]
usage: remove_gpl.py [-h] -d, --dir DIR [-r, --recursive] [-n, --dry_run]
[-v, --verbose]
Analyzes the git log from the specified commit hash on and then updates the
code accordingly. It stores the start/end git commit hash in 'update.rev'
after execution.
Removes the GPL preamble from Java source code files.
optional arguments:
-h, --help show this help message and exit
-w, --weka DIR the directory with the Weka subversion repository
(HEAD)
-c, --commit HASH the git commit hash to start from
-g, --git EXECUTABLE the git executable to use if not on the path
-n, --dry_run whether to perform a dry run, i.e., only simulating
the update
-v, --verbose whether to be verbose with the output
-h, --help show this help message and exit
-d, --dir DIR the directory with source code files to process
-r, --recursive whether to search for source code files recursively
-n, --dry_run whether to perform a dry run, i.e., only simulating the
removal
-v, --verbose whether to be verbose with the output
```


Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>nz.ac.waikato.cms.weka</groupId>
<artifactId>tiny-weka</artifactId>
<version>3.9.15956-SNAPSHOT</version><!-- tiny-weka-version -->
<version>3.9.3cbb52f21-SNAPSHOT</version><!-- tiny-weka-version -->
<packaging>jar</packaging>

<name>tiny-weka</name>
Expand Down
2 changes: 1 addition & 1 deletion update.rev
Original file line number Diff line number Diff line change
@@ -1 +1 @@
87a3264c:31f46b79
31f46b79:3cbb52f21

0 comments on commit a37e0ae

Please sign in to comment.