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

automatically create README.JAVASE file in new repos #51

Merged
merged 7 commits into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
34 changes: 34 additions & 0 deletions patches/readme-javase.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
From d274f1fb6e2a32e873003ebf79753909a513f83d Mon Sep 17 00:00:00 2001
From: Stewart X Addison <[email protected]>
Date: Mon, 8 Apr 2024 15:45:06 +0000
Subject: [PATCH] Adoptium JAVASE marker

---
README.JAVASE | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 README.JAVASE

diff --git a/README.JAVASE b/README.JAVASE
new file mode 100644
index 00000000000..79a5d204434
--- /dev/null
+++ b/README.JAVASE
@@ -0,0 +1,18 @@
+Do NOT remove or modify this file.
+
+The following notice is required to be included in the root directory of source
+code repositories.
+
+This version of Eclipse Temurin source code is made available in support of the
+open source development process. Some numbered or tagged revisions of this
+source may have been tested and found to pass the Java SE TCK, and you can find
+information on which revisions or tags at https://www.adoptium.net.
+Please note that since only binaries can be tested, source code cannot be
+described as a compatible implementation of the Java SE Specification. The
+different build environment on your machine and any changes you may make to this
+code could render your resulting build incompatible. Because of this, writing or
+deploying applications to builds based on this code can lead to lack of
+portability. You should instead consider deploying production applications on
+the pre-built binaries of Eclipse Temurin that are available at
+https://www.adoptium.net that have been tested and certified to meet the Java SE
+compatibility requirements.
6 changes: 6 additions & 0 deletions skaraMirror.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ function performMergeIntoReleaseFromMaster() {
fi
fi

# README.JAVASE patch needed for all repos
if [ ! -f "$WORKSPACE/$GITHUB_REPO/README.JAVASE" ]; then
echo "Applying README.JAVASE.patch"
git am $PATCHES/readme-javase.patch
fi

# Find the latest release tag that is not in releaseTagExcludeList
releaseTags=$(git tag --merged release $TAG_SEARCH || exit 1)
sortedReleaseTags=$(echo "$releaseTags" | eval "$jdk_sort_tags_cmd" || exit 1)
Expand Down