[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2023-05-21 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17724778#comment-17724778
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

jnturton merged PR #2805:
URL: https://github.com/apache/drill/pull/2805




> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2023-05-21 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17724672#comment-17724672
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

hboutemy commented on code in PR #2805:
URL: https://github.com/apache/drill/pull/2805#discussion_r1199775459


##
pom.xml:
##
@@ -562,7 +562,6 @@
 ^git\.commit\..*$
 ^git\.dirty$
 ^git\.tags$
-
^git\.total\.commit\.count$

Review Comment:
   in fact, if you do a shallow git clone (= what Maven Release Plugin does to 
reduce download), you get 1 instead of the value of the full content: yes, not 
so easy to guess :)





> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2023-05-21 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17724670#comment-17724670
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

hboutemy commented on code in PR #2805:
URL: https://github.com/apache/drill/pull/2805#discussion_r1199775459


##
pom.xml:
##
@@ -562,7 +562,6 @@
 ^git\.commit\..*$
 ^git\.dirty$
 ^git\.tags$
-
^git\.total\.commit\.count$

Review Comment:
   in fact, if you do a shallow git clone, you get 1 instead of the value of 
the full content: yes, not so easy to guess :)





> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2023-05-21 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17724621#comment-17724621
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

jnturton commented on code in PR #2805:
URL: https://github.com/apache/drill/pull/2805#discussion_r1199746266


##
pom.xml:
##
@@ -562,7 +562,6 @@
 ^git\.commit\..*$
 ^git\.dirty$
 ^git\.tags$
-
^git\.total\.commit\.count$

Review Comment:
   Thank you for this. I'd have thought that the count of the commits leading 
to up to some tagged commit _is_ reproducible? Or are we catering for the case 
where a build system makes a shallow clone for efficiency and that truncates 
the commit history?





> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2023-05-21 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17724594#comment-17724594
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

hboutemy opened a new pull request, #2805:
URL: https://github.com/apache/drill/pull/2805

   [DRILL-8158](https://issues.apache.org/jira/browse/DRILL-DRILL-8158
   
   see rebuild of release 1.21.1 
https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/org/apache/drill/README.md




> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2023-02-26 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17693724#comment-17693724
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

cgivre merged PR #2766:
URL: https://github.com/apache/drill/pull/2766




> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2023-02-26 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17693675#comment-17693675
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

hboutemy commented on PR #2766:
URL: https://github.com/apache/drill/pull/2766#issuecomment-1445406594

   I'd love that it could be feasible, but I don't think CI is able to check 
reproducibility
   
   another aspect is that we currently have no regression, but just fixes that 
are done step by step: once we have fixed one issue that creates a lot of 
noise, next release shows issues that are less noisy, then were not much 
visible before
   
   IMHO, we just need to accept that for such big project, having a build that 
is fully reproducible requires multiple iterations: that's not unexpected
   I'm confident that once this PR is merged, the remaining issues will impact 
much less content




> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2023-02-26 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17693650#comment-17693650
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

cgivre commented on PR #2766:
URL: https://github.com/apache/drill/pull/2766#issuecomment-1445371514

   @hboutemy Should we add this as a CI check?




> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2023-02-24 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17693064#comment-17693064
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

hboutemy opened a new pull request, #2766:
URL: https://github.com/apache/drill/pull/2766

   see #2590 for initial improvements
   check of release 1.21.0 shows that there are still a few issues 
https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/org/apache/drill/README.md




> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2022-07-12 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17566159#comment-17566159
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

jnturton merged PR #2590:
URL: https://github.com/apache/drill/pull/2590




> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2022-07-12 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17566158#comment-17566158
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

jnturton commented on code in PR #2590:
URL: https://github.com/apache/drill/pull/2590#discussion_r919648732


##
distribution/src/assemble/component.xml:
##
@@ -245,10 +245,6 @@
   ../NOTICE
   
 
-
-  ../git.properties

Review Comment:
   @vvysotskyi thanks that slipped through because I decided to start from the 
existing commit in the original PR for this.





> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2022-07-12 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17565942#comment-17565942
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

vvysotskyi commented on code in PR #2590:
URL: https://github.com/apache/drill/pull/2590#discussion_r919226171


##
distribution/src/assemble/component.xml:
##
@@ -245,10 +245,6 @@
   ../NOTICE
   
 
-
-  ../git.properties

Review Comment:
   Let's leave this file to be placed in the target distribution.





> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2022-07-11 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17565265#comment-17565265
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

jnturton commented on PR #2590:
URL: https://github.com/apache/drill/pull/2590#issuecomment-1181306763

   > This PR is now not well structured. The reproducible build commits should 
not be backported while everything else should be. I'll split it into two in 
the morning, after seeing the results of this CI run.
   
   Okay, the Kerberos unit test fixes have been moved out to #2592.




> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2022-07-11 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17565140#comment-17565140
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

jnturton commented on PR #2590:
URL: https://github.com/apache/drill/pull/2590#issuecomment-1180731106

   > [jnturton](https://github.com/jnturton) removed the[ backport-to-stable 
](https://github.com/apache/drill/labels/backport-to-stable)label [6 hours 
ago](https://github.com/apache/drill/pull/2590#event-6968942212)
   
   This PR is now not well structured. The reproducible build commits should 
not be backported while everything else should be. I'll split it into two in 
the morning, after seeing the results of this CI run.




> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2022-07-11 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17565011#comment-17565011
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

vvysotskyi commented on PR #2590:
URL: https://github.com/apache/drill/pull/2590#issuecomment-1180417905

   Properties file should be present in every Drill jar, it helps to find some 
issues, for example at one of the releases we had a bug when one of the Drill 
jars in the jars folder was outdated instead of the built from sources.




> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2022-07-11 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17564968#comment-17564968
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

jnturton commented on PR #2590:
URL: https://github.com/apache/drill/pull/2590#issuecomment-1180320689

   Here I show the impact on the build_* columns in the sys.version table.
   ```
   apache drill> select * from sys.version;
   version 2.0.0-SNAPSHOT
   commit_id   4bc34f0e317d160b98756ef5659bfc8c4c3b3d93
   commit_message  Limit the git-commit-id plugin properties for reproducible 
builds.
   commit_time 11.07.2022 @ 12:25:56 SAST
   build_email null
   build_time  null
   
   1 row selected (1.768 seconds)
   ```




> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2022-07-11 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17564963#comment-17564963
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

jnturton commented on PR #2590:
URL: https://github.com/apache/drill/pull/2590#issuecomment-1180318047

   Something I noticed when looking for git.properties after building is that 
it appeared in every jar files in jars/. It doesn't seem great for it to be 
heavily duplicated like this...
   
   ```
   /opt/apache-drill/jars/drill-common-2.0.0-SNAPSHOT.jar
   git.properties
   /opt/apache-drill/jars/drill-druid-storage-2.0.0-SNAPSHOT.jar
   git.properties
   /opt/apache-drill/jars/drill-format-esri-2.0.0-SNAPSHOT.jar
   git.properties
   /opt/apache-drill/jars/drill-format-excel-2.0.0-SNAPSHOT.jar
   git.properties
   /opt/apache-drill/jars/drill-format-hdf5-2.0.0-SNAPSHOT.jar
   git.properties
   /opt/apache-drill/jars/drill-format-httpd-2.0.0-SNAPSHOT.jar
   ...
   ```




> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2022-07-11 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17564939#comment-17564939
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

jnturton commented on PR #2484:
URL: https://github.com/apache/drill/pull/2484#issuecomment-1180262825

   @hboutemy thanks for initiating this work. I've pulled your commit into 
#2590 in which I'll try to finish this off.




> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2022-07-11 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17564940#comment-17564940
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

jnturton closed pull request #2484: DRILL-8158: Remove non-reproducible build 
outputs
URL: https://github.com/apache/drill/pull/2484




> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (DRILL-8158) Remove non-reproducible build outputs

2022-07-11 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/DRILL-8158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17564938#comment-17564938
 ] 

ASF GitHub Bot commented on DRILL-8158:
---

jnturton opened a new pull request, #2590:
URL: https://github.com/apache/drill/pull/2590

   # [DRILL-8158](https://issues.apache.org/jira/browse/DRILL-8158): Remove 
non-reproducible build outputs
   
   ## Description
   
   For context see [1] and [2]. The git-commit-id plugin includes information 
like build host, email and time which is not compatible with a reproducible 
build. Drill's built in sys.version table will return the build email and time 
if they are present in the build's git.properties file so these columns must be 
deprecated. Other useful Git-related information is retained.
   
   In accompanying commits, some Kerberos unit test fixes are applied, and the 
tests reenabled, and some updates to Release.md are included.
   
   [1] https://maven.apache.org/guides/mini/guide-reproducible-builds.html
   
   [2] 
https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root
   
   ## Documentation
   Update the Query System Tables doc page.
   
   ## Testing
   Run `select * from sys.version`. Manually inspect git.properties file.
   




> Remove non-reproducible build outputs
> -
>
> Key: DRILL-8158
> URL: https://issues.apache.org/jira/browse/DRILL-8158
> Project: Apache Drill
>  Issue Type: Bug
>Affects Versions: 1.20.0
>Reporter: Herve Boutemy
>Assignee: James Turton
>Priority: Major
> Fix For: 1.20.2
>
>
> For context see [1] and [2]. The git-commit-id plugin includes information 
> like build host, email and time which is not compatible with a reproducible 
> build. Drill's built in sys.version table will return the build email and 
> time if they are present in the build's git.properties file so these columns 
> must be deprecated. Other useful Git-related information is retained.
> In accompanying commits, some Kerberos unit test fixes are applied, and the 
> tests reenabled, and some updates to Release.md are included.
> [1] [https://maven.apache.org/guides/mini/guide-reproducible-builds.html]
> [2] 
> [https://github.com/jvm-repo-rebuild/reproducible-central#org.apache.drill:drill-root]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)