Skip to content

Commit

Permalink
Remove unused apifreeze releng scripts
Browse files Browse the repository at this point in the history
Not used in years and just complicate the scripts and stream opening
procedures.
  • Loading branch information
akurtakov committed Nov 22, 2024
1 parent 8585891 commit 62944c9
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 100 deletions.
6 changes: 0 additions & 6 deletions cje-production/P-build/buildproperties.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ LOCAL_REPO="localMavenRepo"
# Base builder parameters
BASEBUILDER_TAG="4.31"
API_PREV_REF_LABEL="4.31"
#API_FREEZE_REF_LABEL="4.33RC1"
API_FREEZE_REF_LABEL=""
# Change to appropriate versions and uncomment when entering API freeze
#FREEZE_PARAMS="-DfreezeBaseURL=https://${DOWNLOAD_HOST}/eclipse/downloads/drops4/S-${API_FREEZE_REF_LABEL}-202208241800/eclipse-SDK-${API_FREEZE_REF_LABEL}-win32-x86_64.zip -DfreezeName=Eclipse-SDK-${API_FREEZE_REF_LABEL} -DfreezeFilename=eclipse-SDK-${API_FREEZE_REF_LABEL}-win32-x86_64.zip"
# Otherwise set to a blank space
FREEZE_PARAMS=" "

PREVIOUS_RELEASE_VER="4.33"
PREVIOUS_RELEASE_REPO_ID="4.33"
Expand Down
6 changes: 0 additions & 6 deletions cje-production/Y-build/buildproperties.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ LOCAL_REPO="localMavenRepo"
# Base builder parameters
BASEBUILDER_TAG="4.32"
API_PREV_REF_LABEL="4.32"
#API_FREEZE_REF_LABEL="4.33RC1"
API_FREEZE_REF_LABEL=""
# Change to appropriate versions and uncomment when entering API freeze
#FREEZE_PARAMS="-DfreezeBaseURL=https://${DOWNLOAD_HOST}/eclipse/downloads/drops4/S-${API_FREEZE_REF_LABEL}-202108251800/eclipse-SDK-${API_FREEZE_REF_LABEL}-win32-x86_64.zip -DfreezeName=Eclipse-SDK-${API_FREEZE_REF_LABEL} -DfreezeFilename=eclipse-SDK-${API_FREEZE_REF_LABEL}-win32-x86_64.zip"
# Otherwise set to a blank space
FREEZE_PARAMS=" "

PREVIOUS_RELEASE_VER="4.33"
PREVIOUS_RELEASE_REPO_ID="4.33"
Expand Down
6 changes: 0 additions & 6 deletions cje-production/buildproperties.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ LOCAL_REPO="localMavenRepo"
# Base builder parameters
BASEBUILDER_TAG="4.33"
API_PREV_REF_LABEL="4.33"
#API_FREEZE_REF_LABEL="4.33RC1"
API_FREEZE_REF_LABEL=""
# Change to appropriate versions and uncomment when entering API freeze
#FREEZE_PARAMS="-DfreezeBaseURL=https://${DOWNLOAD_HOST}/eclipse/downloads/drops4/S-${API_FREEZE_REF_LABEL}-202208241800/eclipse-SDK-${API_FREEZE_REF_LABEL}-win32-x86_64.zip -DfreezeName=Eclipse-SDK-${API_FREEZE_REF_LABEL} -DfreezeFilename=eclipse-SDK-${API_FREEZE_REF_LABEL}-win32-x86_64.zip"
# Otherwise set to a blank space
FREEZE_PARAMS=" "

PREVIOUS_RELEASE_VER="4.33"
PREVIOUS_RELEASE_REPO_ID="4.33"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,8 @@
name="API Tools builder integration"
default="apiToolsReports">



<!--
The default target that calls apitooling.apifreeze, apitooling.analysis and apitooling.apideprecation
The default target that calls apitooling.analysis and apitooling.apideprecation
and their respective _reportconversion tasks
-->
<target
Expand All @@ -45,14 +43,6 @@
name="report"
value="${buildDirectory}/apitools" />
<mkdir dir="${report}" />
<property
name="freeze_report"
value="${report}/freeze_report.xml" />
<touch file="${freeze_report}" />
<property
name="freeze_html"
value="${report}/freeze_report.html" />



<!-- we would have to fetch the baseline we wanted, or perhaps just link to its location -->
Expand All @@ -61,9 +51,6 @@
value="${reference}/${previousBaselineFilename}" />

<!-- create properties for the filters -->
<property
name="exclude_list_location"
value="${EBuilderDir}/eclipse/apiexclude/exclude_list.txt" />
<property
name="exclude_list_external_location"
value="${EBuilderDir}/eclipse/apiexclude/exclude_list_external.txt" />
Expand Down Expand Up @@ -139,8 +126,7 @@

<target
name="init"
unless="apitoolinginitialized"
depends="getfreezereference">
unless="apitoolinginitialized">

<!-- The name for the build - i.e. I20130603-2000 -->
<fail
Expand Down Expand Up @@ -210,49 +196,4 @@
property="currentZipAvailable" />
</target>

<!-- there will not always be a freeze report, only after M6 -->
<target
name="getfreezereference"
if="freezeFilename">
<fail
unless="freezeBaseURL"
message="full URL of freeze build must be provided, if freezeFilename is." />

<!-- if not provided, assume freezeName is same as freezeFilename -->
<property
name="freezeName"
value="freezeFilename" />

<property
name="freezereference"
value="${buildDirectory}/apitoolingreference/${freezeName}" />
<mkdir dir="${freezereference}" />

<get
dest="${freezereference}"
src="${freezeBaseURL}" />
<!-- no need to unzip?
<unzip
src="${freezereference}/${freezeFilename}"
dest="${freezereference}" />
-->

</target>

<!-- there will not always be a freeze report, only after M6 -->
<target
name="dofreezeReport"
if="freezereference">
<!-- run the freeze task -->
<apitooling.apifreeze
baseline="${freezereference}/${freezeFilename}"
profile="${current_location}"
report="${freeze_report}"
excludelist="${exclude_list_location}"
debug="true" />
<apitooling.apifreeze_reportconversion
xmlfile="${freeze_report}"
htmlfile="${freeze_html}"
debug="true" />
</target>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -95,22 +95,6 @@
}
?>

<?php
// have removed coverage measurements for now
// echo " <li><a href=\"coverage.php\"><b>JaCoCo code coverage report</b></a></li>";
?>

<?php
$freezeFilename="apitools/freeze_report.html";
if (file_exists($freezeFilename)) {
echo "<li><a href=\"$freezeFilename\"><b>API Tools Post-API Freeze Report</b></a>&nbsp;&nbsp;";
echo "This report describes API changes since ${API_FREEZE_REF_LABEL}. Exclusions are listed in <a href=\"https://github.com/eclipse-platform/eclipse.platform.releng.aggregator/blob/$BRANCH/eclipse.platform.releng.tychoeclipsebuilder/eclipse/apiexclude/exclude_list.txt\">.../apiexclude/exclude_list.txt</a>.</li>";
}
else {
echo " <li>No freeze report. Only generated in main stream after RC1.</li>";
}
?>

<?php
echo " <li><a href=\"apitools/apifilters-$BUILD_ID.zip\"><b>Zip of .api_filters files used in the build</b></a></li>";
?>
Expand Down

0 comments on commit 62944c9

Please sign in to comment.