Skip to content

Commit

Permalink
Go back to Mercurial 3.0.3.11
Browse files Browse the repository at this point in the history
This reverts to commit 1582036,
discarding everything done on this branch since that commit.
  • Loading branch information
rmunn committed Mar 5, 2024
1 parent 030fc97 commit 317ff12
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.builder-base
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ARG DbVersion=7000072

FROM mcr.microsoft.com/dotnet/sdk:8.0 AS lfmerge-builder-base
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS lfmerge-builder-base
WORKDIR /build/lfmerge

ENV DEBIAN_FRONTEND=noninteractive
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1

# Dependencies from Debian "control" file
RUN apt-get update && apt-get install -y curl sudo iputils-ping cpp python3-dev pkg-config libicu-dev && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y curl sudo iputils-ping cpp python-is-python2 python2-dev pkg-config libicu-dev && rm -rf /var/lib/apt/lists/*

# Ensure fieldworks group exists in case lfmerge-fdo package didn't install it, and that www-data is part of that group
# Also ensure that www-data has a .local dir in its home directory (/var/www) since some of lfmerge's dependencies assume that $HOME/.local exists
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.runtime-base
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ARG DbVersion=7000072

FROM mcr.microsoft.com/dotnet/runtime:8.0 AS lfmerge-builder-base
FROM mcr.microsoft.com/dotnet/runtime:6.0 AS lfmerge-builder-base
WORKDIR /build/lfmerge

ENV DEBIAN_FRONTEND=noninteractive
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1

# Dependencies from Debian "control" file
RUN apt-get update && apt-get install -y curl sudo iputils-ping cpp python3-dev pkg-config libicu-dev && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y curl sudo iputils-ping cpp python-is-python2 python2-dev pkg-config libicu-dev && rm -rf /var/lib/apt/lists/*

# Ensure fieldworks group exists in case lfmerge-fdo package didn't install it, and that www-data is part of that group
# Also ensure that www-data has a .local dir in its home directory (/var/www) since some of lfmerge's dependencies assume that $HOME/.local exists
Expand Down
2 changes: 1 addition & 1 deletion LfMerge.TestApp/LfMerge.TestApp.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<TargetFrameworks>net6.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>LfMerge.TestApp</RootNamespace>
<Configurations>Debug;Release</Configurations>
Expand Down
4 changes: 2 additions & 2 deletions docker/scripts/create-installation-tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set -e
export HOME=/tmp
export XDG_CONFIG_HOME=/tmp/.config
export BUILD=Release
export FRAMEWORK=net8.0
export FRAMEWORK=net6.0
export NETSTANDARD=netstandard2.0

export DatabaseVersion=${1:-7000072}
Expand Down Expand Up @@ -60,7 +60,7 @@ install -d ${DBDESTDIR}/${LIB}/Mercurial/hgext/largefiles
install -d ${DBDESTDIR}/${LIB}/Mercurial/hgext/zeroconf
install -d ${DBDESTDIR}/${LIB}/Mercurial/mercurial
install -d ${DBDESTDIR}/${LIB}/Mercurial/mercurial/hgweb
install -d ${DBDESTDIR}/${LIB}/Mercurial/mercurial/httpclient || true
install -d ${DBDESTDIR}/${LIB}/Mercurial/mercurial/httpclient
install -d ${DBDESTDIR}/${LIB}/MercurialExtensions
install -d ${DBDESTDIR}/${LIB}/MercurialExtensions/fixutf8
install -m 755 Mercurial/hg ${DBDESTDIR}/${LIB}/Mercurial
Expand Down
2 changes: 1 addition & 1 deletion environ
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# the sourcing script should cd/pushd to the directory containing this script
BASE="$(pwd)"

export PATH="${BASE}/output/${BUILD}/net8.0:${BASE}/output/Mercurial:${PATH}"
export PATH="${BASE}/output/${BUILD}/net6.0:${BASE}/output/Mercurial:${PATH}"

# set HGRCPATH so that we ignore ~/.hgrc files which might have content that is
# incompatible with our version of Mercurial
Expand Down
2 changes: 1 addition & 1 deletion src/FixFwData/FixFwData.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<TargetFrameworks>net6.0</TargetFrameworks>
<OutputType>WinExe</OutputType>
<RootNamespace>FixFwData</RootNamespace>
<Configurations>Debug;Release</Configurations>
Expand Down
4 changes: 2 additions & 2 deletions src/LfMerge.Core.Tests/LfMerge.Core.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<TargetFrameworks>net6.0</TargetFrameworks>
<RootNamespace>LfMerge.Core.Tests</RootNamespace>
<Configurations>Debug;Release</Configurations>
<Description>LfMerge.Core.Tests</Description>
Expand Down Expand Up @@ -36,7 +36,7 @@ See full changelog at https://github.com/sillsdev/LfMerge/blob/develop/CHANGELOG
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1" />
<PackageReference Include="NUnitXml.TestLogger" Version="3.0.117" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.3.0" />
<PackageReference Include="SIL.Chorus.Mercurial" Version="6.5.1.22" />
<PackageReference Include="SIL.Chorus.Mercurial" Version="3.0.3.11" />
<PackageReference Include="SIL.LCModel.Core.Tests" Version="10.1.0-beta0382" />
<PackageReference Include="SIL.ReleaseTasks" Version="2.5.0" PrivateAssets="All" />
<PackageReference Include="SIL.TestUtilities" Version="9.0.0" />
Expand Down
8 changes: 4 additions & 4 deletions src/LfMerge.Core/LfMerge.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ See full changelog at https://github.com/sillsdev/LfMerge/blob/develop/CHANGELOG
<PackageReference Include="MongoDB.Driver.Core.signed" Version="2.14.*" />
<PackageReference Include="Mono.Posix.NETStandard" Version="1.0.0" />
<PackageReference Include="SIL.Bugsnag.Signed" Version="2.2.1" />
<PackageReference Include="SIL.Chorus.Mercurial" Version="6.5.1.22" PrivateAssets="All" />
<PackageReference Include="SIL.Chorus.ChorusMerge" Version="6.0.0-beta0043" GeneratePathProperty="true" />
<PackageReference Include="SIL.ChorusPlugin.LfMergeBridge" Version="4.2.0-beta*" />
<PackageReference Include="SIL.Chorus.LibChorus" Version="6.0.0-beta0043" />
<PackageReference Include="SIL.Chorus.Mercurial" Version="3.0.3.11" PrivateAssets="All" />
<PackageReference Include="SIL.Chorus.ChorusMerge" Version="5.2.0-beta0002" GeneratePathProperty="true" />
<PackageReference Include="SIL.ChorusPlugin.LfMergeBridge" Version="3.8.0-beta*" />
<PackageReference Include="SIL.Chorus.LibChorus" Version="5.2.0-beta0002" />
<PackageReference Include="SIL.Core.Desktop" Version="12.0.0" />
<PackageReference Include="SIL.LCModel" Version="11.0.0-beta0077" />
<PackageReference Include="SIL.ReleaseTasks" Version="2.5.0" PrivateAssets="All" />
Expand Down
2 changes: 1 addition & 1 deletion src/LfMerge.Tests/LfMerge.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<TargetFrameworks>net6.0</TargetFrameworks>
<RootNamespace>LfMerge.Tests</RootNamespace>
<Configurations>Debug;Release</Configurations>
<Description>LfMerge.Tests</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/LfMerge/LfMerge.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<TargetFrameworks>net6.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>LfMerge</RootNamespace>
<Configurations>Debug;Release</Configurations>
Expand Down
2 changes: 1 addition & 1 deletion src/LfMergeAuxTool/LfMergeAuxTool.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<TargetFrameworks>net6.0</TargetFrameworks>
<RootNamespace>LfMergeAuxTool</RootNamespace>
<Configurations>Debug;Release</Configurations>
<Description>LfMergeAuxTool</Description>
Expand Down
2 changes: 1 addition & 1 deletion src/LfMergeQueueManager/LfMergeQueueManager.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0</TargetFrameworks>
<TargetFrameworks>net6.0</TargetFrameworks>
<RootNamespace>LfMerge.QueueManager</RootNamespace>
<Configurations>Debug;Release</Configurations>
<Description>LfMergeQueueManager</Description>
Expand Down

0 comments on commit 317ff12

Please sign in to comment.