forked from jflamy/owlcms4
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #205 from renemadsen/upstream
Upstream into dvf
- Loading branch information
Showing
51 changed files
with
2,673 additions
and
2,634 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,27 @@ | ||
## Building and Packaging | ||
|
||
This is a standard Maven project. If you wish, you can build the binaries from this source. | ||
This is a standard Maven project that creates a uberJar with all the dependencies. If you wish, you can build the binaries from this source. | ||
|
||
This file describes how to build the program without changing it. If you want to change the code, please see the [Contributing](https://owlcms.github.io/owlcms4/#/Gitpod) documentation for additional information on how to setup a Gitpod or VisualStudio Code environment. | ||
This file describes how to build the program without changing it. If you want to change the code, please see the [Contributing](https://owlcms.github.io/owlcms4/#/Gitpod) documentation. | ||
|
||
### Pre-requisites | ||
|
||
- Install git : Installing [GitHub Desktop](https://desktop.github.com/) is the easiest way to install Git on a Windows system. Select the options to add the programs to the execution path. | ||
- Clone this repository | ||
- Install Java 17 | ||
- Install Java 17 or newer | ||
- Install Maven | ||
|
||
- To build the Windows installer, you need to be on Windows and [Innosetup](http://www.jrsoftware.org/isinfo.php) needs to be available. The portable version used in the build is found under the `installtools/main/assembly` directory, so there is no need to actually install it. | ||
|
||
|
||
### Building and testing | ||
|
||
- From the owlcms4 directory, running ``mvn -P production -am -pl clean owlcms package `` should give you | ||
- `owlcms/target/owlcms.jar` a working "uberjar" (that is, a .jar file that contains all the dependencies together in a single file). This file can then be run using `java -jar owlcms.jar app.owlcms.Main` | ||
- `owlcms/target/owlcms.zip` which is used on Linux and Mac | ||
|
||
|
||
### Building and testing the Windows installer | ||
|
||
- Running ``mvn package -P production`` inside the `owlcms-windows` subdirectory should give you a working installer. This build needs to be run on a Windows machine because the installer builder is Windows-specific. | ||
- The installer is then found in `owlcms-windows\target\owlcms_setup\owlcms_setup.exe` | ||
- `owlcms/target/owlcms.zip` which is used for actual packaging by the owlcms/owlcms-controlpanel project | ||
|
||
### Building a Docker container | ||
|
||
There is a Dockerfile in owlcms4top to build owlcms for quick testing to the fly.io cloud (see deploy.sh). Building publicresults would be similar. | ||
|
||
The current process for actual production builds uses the `owlcms-docker` project to build Docker containers using `mvn package`, once the production build has been done. | ||
### Release Builds | ||
|
||
A full release workflow is in `.github/workflows/release.yaml` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,46 @@ | ||
> [!CAUTION] | ||
> REMINDER | ||
> | ||
> - This is an **alpha release**, used for validating new features. *Some features are likely to be incomplete or non-functional*. | ||
> - **Alpha releases are not normally used in actual competitions.** | ||
> - Export your current database before updating if it contains important data. | ||
> - You should test all releases, with actual data, *several days* before a competition. | ||
| Introducing the Owlcms Control Panel | | ||
| ------------------------------------------------------------ | | ||
| **New and improved installation process for owlcms**.<br><br>Previously, only Windows had a full installer. From now on all platforms use the same installation process: a "Control Panel" program is now available for Windows, macOS, RaspberryPi OS and Linux. It handles installations and updates, as well as starting/stopping owlcms.<br><br>**See the [Control Panel Installation Instructions](https://owlcms.github.io/owlcms4-prerelease/#/LocalDownloads.md) and the user guide for the [owlcms Control Panel](https://owlcms.github.io/owlcms4-prerelease/#/LocalControlPanel.md).**<br><br>From now on the release area only includes the owlcms files that are loaded by the control panel. The control panel has its own separate [repository](https://github.com/owlcms/owlcms-controlpanel). | | ||
|
||
**Maintenance Log** | ||
|
||
- 55.1.3: Changes to Language and System Settings could not be saved due to a validation done on the wrong field | ||
- 55.1.3: When defining categories on the registration or SBDE spreadsheet, use `;` or `,` as delimiter. Use of `/` is ambiguous and is no longer accepted. | ||
- 55.1.2: "Single Referee" now works for keypads | ||
- 55.1.0: Added a competition rule to use the 20kg rule for Masters athletes instead of the official 80% | ||
|
||
**New In This Release** | ||
|
||
- New [Installation Instructions](https://owlcms.github.io/owlcms4-prerelease/#/LocalDownloads.) and startup instructions using the [owlcms Control Panel](https://owlcms.github.io/owlcms4-prerelease/#/LocalControlPanel.md) for updating, launching and stopping OWLCMS on a local computer. | ||
|
||
- Ability to set the duration of the clean & jerk break explicitly for a session, overriding the competition-wide rules. | ||
|
||
- A new Excel template variable `${session.cleanJerkBreakMinutes}` can be used to show this to the announcer if you have a specific template for athlete introductions | ||
|
||
- Competition Rules: It is now possible to force the 20kg rule for Masters instead of the 80% rule. | ||
|
||
- Refereeing: Selecting "Single Referee" using the ⚙menu now works with keyboard shortcut keypads (USB, Bluetooth, Joystick). | ||
|
||
- Any of the 3 referees will work, but configuring the center referee makes most sense (3 = good lift, 4 = no lift). A single decision will trigger the down signal. | ||
|
||
- New [Windows Installation Instructions](https://owlcms.github.io/owlcms4/#/LocalWindowsSetup) and [Raspberry Pi and Linux Installation Instructions](https://owlcms.github.io/owlcms4/#/LocalPiLinuxSetup) using owlcms-launcher for updating, launching and stopping OWLCMS on a local computer. | ||
- Simplified Video Setup | ||
- The default style for Video Streaming is now `transparent` . When using `transparent` | ||
- The default style for Video Streaming is now `transparent` | ||
With this change, | ||
|
||
- It is no longer necessary to crop the Current Athlete view | ||
- There is no need to add a green mask to have a floating scoreboard | ||
|
||
|
||
See the documentation on using [OBS](https://owlcms.github.io/owlcms4-prerelease/#/LocalDownloads.) for examples of using the transparent style. | ||
|
||
- The style can be changed back to `nogrid` on the System Settings > Customization page to get the black background styles identical to the on-site scoreboards. | ||
|
||
- Templates: a new _FlatFile.xlsx template is available for Competition Results. It is meant for statistical analysis where headers for each category make reading the file difficult. | ||
|
||
|
||
|
||
|
||
For other recent changes, see [version 54 release notes](https://github.com/owlcms/owlcms4/releases/tag/54.2.1) and [version 53 release notes](https://github.com/owlcms/owlcms4/releases/tag/53.1.0) | ||
For other recent changes, see [version 55 release notes](https://github.com/owlcms/owlcms4/releases/tag/54.2.1) and [version 5 release notes](https://github.com/owlcms/owlcms4/releases/tag/53.1.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.