Skip to content

Conversation

@dongcarl
Copy link
Contributor

@dongcarl dongcarl commented Oct 2, 2019

It would seem that our gitian-win.yml has not been keeping up with gitian-linux.yml, this PR:

  1. Minimizes the diff size between gitian-{win,linux}.yml
  2. Eliminates the rename dependency

Debug splitting was first introduced in 7e7eb27, then gitian-linux.yml
changed to using split-debug.sh in 9d25362. Here we change
gitian-win.yml to use split-debug.sh as well.
@jonasschnelli
Copy link
Contributor

@fanquake
Copy link
Member

fanquake commented Oct 4, 2019

Concept ACK

1 similar comment
@hebasto
Copy link
Member

hebasto commented Oct 6, 2019

Concept ACK

Linux:
The README was originally added in 8550f1f, but included the README
under the docs directory, which has a bunch of internal links that won't
make sense in a release tarball. In this patch, we include the root
level README instead, which makes more sense.

Windows:
.md files are inconvenient to open on windows and the line endings
differ, so we use README_windows.txt instead.
@dongcarl dongcarl force-pushed the 2019-10-gitian-win-improvements branch from ee69d93 to 9d1f971 Compare October 8, 2019 17:40
@dongcarl
Copy link
Contributor Author

dongcarl commented Oct 8, 2019

Addressed all comments.

@maflcko
Copy link
Member

maflcko commented Oct 8, 2019

See also #17077 (slightly related)

@hebasto
Copy link
Member

hebasto commented Oct 8, 2019

See also #17077 (slightly related)

Yes. The question (#17077) arose while reviewing this PR ;)

@bitcoin bitcoin deleted a comment from DrahtBot Oct 8, 2019
@dongcarl
Copy link
Contributor Author

dongcarl commented Oct 8, 2019

I know I'm kinda asking for it because of naming of the PR, but could we resolve #17077 in another PR? 😬

@DrahtBot
Copy link
Contributor

DrahtBot commented Oct 9, 2019

Gitian builds for commit e173d58 (master):

Gitian builds for commit 531a3dc2206a80564b2a4bbb4865ae8066e9a0ca (master and this pull):

@laanwj
Copy link
Member

laanwj commented Oct 9, 2019

I think that can very well be addressed separately.
It's not good to have a PR that keeps increasing in scope.

ACK 9d1f971

laanwj added a commit that referenced this pull request Oct 9, 2019
9d1f971 gitian: Put things in the right place to begin with (Carl Dong)
71949a9 gitian: Eliminate rename dependency (Carl Dong)
999a9a5 gitian: Smaller diff with gitian-linux.yml (Carl Dong)
c4a3c25 gitian: Fix README inclusion in archives (Carl Dong)
93cb974 gitian: Use split-debug.sh for Win builds (Carl Dong)

Pull request description:

  It would seem that our `gitian-win.yml` has not been keeping up with `gitian-linux.yml`, this PR:

  1. Minimizes the diff size between `gitian-{win,linux}.yml`
  2. Eliminates the `rename` dependency

ACKs for top commit:
  laanwj:
    ACK 9d1f971

Tree-SHA512: 84ed47c685e12d0064c02811907ae3d0fd3c47db8773d497dcc38f0defbfb3040fd82899fb026cf355f229b906d05a1c8038a95642bb90d044afbc2e0b239af2
@laanwj laanwj merged commit 9d1f971 into bitcoin:master Oct 9, 2019
(
SETUP_EXE="$(basename "$(echo ./*-setup.exe)")"
cp -f "$SETUP_EXE" "${OUTDIR}/${SETUP_EXE/%-setup.exe/-setup-unsigned.exe}"
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any thoughts on removing this?

diff --git a/contrib/gitian-descriptors/gitian-win.yml b/contrib/gitian-descriptors/gitian-win.yml
index d5f2c1ad35..2d613fca9d 100644
--- a/contrib/gitian-descriptors/gitian-win.yml
+++ b/contrib/gitian-descriptors/gitian-win.yml
@@ -153,10 +153,6 @@ script: |
     make ${MAKEOPTS} -C src check-security
     make deploy
     make install DESTDIR=${INSTALLPATH}
-    (
-      SETUP_EXE="$(basename "$(echo ./*-setup.exe)")"
-      cp -f "$SETUP_EXE" "${OUTDIR}/${SETUP_EXE/%-setup.exe/-setup-unsigned.exe}"
-    )
     cd installed
     mv ${DISTNAME}/bin/*.dll ${DISTNAME}/lib/
     find . -name "lib*.la" -delete
diff --git a/share/setup.nsi.in b/share/setup.nsi.in
index e9aa1f2b73..649483c732 100644
--- a/share/setup.nsi.in
+++ b/share/setup.nsi.in
@@ -48,7 +48,7 @@ Var StartMenuGroup
 !insertmacro MUI_LANGUAGE English
 
 # Installer attributes
-OutFile @abs_top_srcdir@/@PACKAGE_TARNAME@-@PACKAGE_VERSION@-win@[email protected]
+OutFile @abs_top_srcdir@/@PACKAGE_TARNAME@-@PACKAGE_VERSION@-win@[email protected]
 !if "@WINDOWS_BITS@" == "64"
 InstallDir $PROGRAMFILES64\Bitcoin
 !else

laanwj added a commit that referenced this pull request Oct 31, 2019
3b3b931 nsis: Write to correct filename in first place (Carl Dong)

Pull request description:

  Per MarcoFalke's suggestion here #17029 (comment)

ACKs for top commit:
  MarcoFalke:
    unsigned ACK 3b3b931, makes sense to name it that way because it will raise the "unsinged" error in Windows

Tree-SHA512: da72aae438505e162d0b3cd27d873b7ad8176178bb459a738e61b6e2ad0fa739d905b3109fab641bb1a3950fe59ad526c5568d12cf48a305166cdb7db6686543
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Oct 31, 2019
3b3b931 nsis: Write to correct filename in first place (Carl Dong)

Pull request description:

  Per MarcoFalke's suggestion here bitcoin#17029 (comment)

ACKs for top commit:
  MarcoFalke:
    unsigned ACK 3b3b931, makes sense to name it that way because it will raise the "unsinged" error in Windows

Tree-SHA512: da72aae438505e162d0b3cd27d873b7ad8176178bb459a738e61b6e2ad0fa739d905b3109fab641bb1a3950fe59ad526c5568d12cf48a305166cdb7db6686543
MarkLTZ added a commit to litecoinz-core/litecoinz that referenced this pull request Apr 10, 2020
sidhujag pushed a commit to syscoin-core/syscoin that referenced this pull request Nov 10, 2020
3b3b931 nsis: Write to correct filename in first place (Carl Dong)

Pull request description:

  Per MarcoFalke's suggestion here bitcoin#17029 (comment)

ACKs for top commit:
  MarcoFalke:
    unsigned ACK 3b3b931, makes sense to name it that way because it will raise the "unsinged" error in Windows

Tree-SHA512: da72aae438505e162d0b3cd27d873b7ad8176178bb459a738e61b6e2ad0fa739d905b3109fab641bb1a3950fe59ad526c5568d12cf48a305166cdb7db6686543
random-zebra added a commit to random-zebra/PIVX that referenced this pull request Jul 19, 2021
…scriptors

a7dbb27 build: add missing attributes to Win installer (Fuzzbawls)
13d0b48 nsis: Don't duplicate URL string (Fuzzbawls)
56563e5 build: remove WINDOWS_BITS from build system (fanquake)
0cb37c8 nsis: Write to correct filename in first place (Carl Dong)
7aa2823 gitian: Put things in the right place to begin with (Carl Dong)
0dcf6e6 gitian: Eliminate rename dependency (Carl Dong)
ba579b9 gitian: Smaller diff with gitian-linux.yml (Carl Dong)
3b9d5e8 gitian: Fix README inclusion in archives (Carl Dong)
07c27d2 gitian: Use split-debug.sh for Win builds (Carl Dong)
9f19095 build: Add README.md to DIST target (MarcoFalke)
ce80c76 build: remove mingw linker workaround from win gitian descriptor (fanquake)
37441b0 scripted-diff: gitian: Use REFERENCE_DATETIME directly. (Fuzzbawls)
966fe9a depends: remove usage of TAR_OPTIONS (fanquake)
12fd641 build: remove export GZIP from gitian descriptors (fanquake)

Pull request description:

  This is a collection of upstream PRs focused on cleaning up the gitian descriptors (un-needed or duplicate code bits, standardizing similar actions across the descriptors, etc), and minor cleanups to supporting build system files.

  Included are the following upstream PRs:
  * bitcoin#16141
  * bitcoin#16184
  * bitcoin#16667
  * bitcoin#17097
  * bitcoin#17029
  * bitcoin#17308
  * bitcoin#17756
  * bitcoin#18059

ACKs for top commit:
  furszy:
    Tested ACK a7dbb27
  random-zebra:
    ACK a7dbb27 and merging...

Tree-SHA512: 409d4f51adfb1c90aa8bc572fe6610596dea1293a8ca795f9071bb88bd583bd7678359ee19e34440bb0d117075ebd27f9a622247ee3dfd0cd9088e6da306a4d5
UdjinM6 pushed a commit to UdjinM6/dash that referenced this pull request Oct 23, 2021
9d1f971 gitian: Put things in the right place to begin with (Carl Dong)
71949a9 gitian: Eliminate rename dependency (Carl Dong)
999a9a5 gitian: Smaller diff with gitian-linux.yml (Carl Dong)
c4a3c25 gitian: Fix README inclusion in archives (Carl Dong)
93cb974 gitian: Use split-debug.sh for Win builds (Carl Dong)

Pull request description:

  It would seem that our `gitian-win.yml` has not been keeping up with `gitian-linux.yml`, this PR:

  1. Minimizes the diff size between `gitian-{win,linux}.yml`
  2. Eliminates the `rename` dependency

ACKs for top commit:
  laanwj:
    ACK 9d1f971

Tree-SHA512: 84ed47c685e12d0064c02811907ae3d0fd3c47db8773d497dcc38f0defbfb3040fd82899fb026cf355f229b906d05a1c8038a95642bb90d044afbc2e0b239af2
UdjinM6 pushed a commit to UdjinM6/dash that referenced this pull request Oct 23, 2021
3b3b931 nsis: Write to correct filename in first place (Carl Dong)

Pull request description:

  Per MarcoFalke's suggestion here bitcoin#17029 (comment)

ACKs for top commit:
  MarcoFalke:
    unsigned ACK 3b3b931, makes sense to name it that way because it will raise the "unsinged" error in Windows

Tree-SHA512: da72aae438505e162d0b3cd27d873b7ad8176178bb459a738e61b6e2ad0fa739d905b3109fab641bb1a3950fe59ad526c5568d12cf48a305166cdb7db6686543
UdjinM6 pushed a commit to UdjinM6/dash that referenced this pull request Dec 4, 2021
9d1f971 gitian: Put things in the right place to begin with (Carl Dong)
71949a9 gitian: Eliminate rename dependency (Carl Dong)
999a9a5 gitian: Smaller diff with gitian-linux.yml (Carl Dong)
c4a3c25 gitian: Fix README inclusion in archives (Carl Dong)
93cb974 gitian: Use split-debug.sh for Win builds (Carl Dong)

Pull request description:

  It would seem that our `gitian-win.yml` has not been keeping up with `gitian-linux.yml`, this PR:

  1. Minimizes the diff size between `gitian-{win,linux}.yml`
  2. Eliminates the `rename` dependency

ACKs for top commit:
  laanwj:
    ACK 9d1f971

Tree-SHA512: 84ed47c685e12d0064c02811907ae3d0fd3c47db8773d497dcc38f0defbfb3040fd82899fb026cf355f229b906d05a1c8038a95642bb90d044afbc2e0b239af2
UdjinM6 pushed a commit to UdjinM6/dash that referenced this pull request Dec 4, 2021
3b3b931 nsis: Write to correct filename in first place (Carl Dong)

Pull request description:

  Per MarcoFalke's suggestion here bitcoin#17029 (comment)

ACKs for top commit:
  MarcoFalke:
    unsigned ACK 3b3b931, makes sense to name it that way because it will raise the "unsinged" error in Windows

Tree-SHA512: da72aae438505e162d0b3cd27d873b7ad8176178bb459a738e61b6e2ad0fa739d905b3109fab641bb1a3950fe59ad526c5568d12cf48a305166cdb7db6686543
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants