Re: ASF Source Assembly now contains .gitignore and .gitattributes

2022-09-16 Thread Vladimir Sitnikov
>“.gitignore” and “.gitattributes” files .gitignore and .gitattributes can easily be helpful during the build, so it does sound strange to exclude them. For instance, Apache Calcite uses .gitattribute to configure that specific files should have an "executable" bit in the resulting tar.gz

Re: [DISCUSS] Modello release

2022-02-15 Thread Vladimir Sitnikov
>correctly even if the encoding changes, because that will lead to the file >being overwritten. Once again: decoding does **not** guarantee you get **invalid** string when decoding fails. The replacement string might look like a regular string, and it might even collide with the input string.

Re: [DISCUSS] Modello release

2022-02-14 Thread Vladimir Sitnikov
>the result string will be corrupted when read The javadoc does not guarantee the string will be "corrupted" :-/ The "default replacement string" is quite a vague definition, so there might be an encoding where "default replacement string" means regular ASCII question mark "?". All in all,

Re: [DISCUSS] Modello release

2022-02-13 Thread Vladimir Sitnikov
I believe the added CachingWriter is might become a cause of silent failures. What CachingWriter does is an attempt to read the file and decode it with the provided encoding. Apparently, the decoding might fail since the file might be written in another encoding or it might be corrupted. A

Re: Release maven anton plugin...sorry

2020-04-05 Thread Vladimir Sitnikov
Enrico>signed by another Apache committer (not strictly from Maven project) AFAIK that is not required: https://infra.apache.org/release-distribution.html#sigs-and-sums The key must be in Maven's KEYS file though. Vladimir

This project has been banned from the build due to previous failures

2020-03-04 Thread Vladimir Sitnikov
Hi, Do you think $subj message can be more user-friendly? Can it include the reasons for the failure and steps to resolve the issue rather than merely "This project has been banned"? The message is extremely confusing :(( In case you wonder, here's a sample build log:

Re: is it legal to shade "gson" packages in Maven?

2020-02-23 Thread Vladimir Sitnikov
> Copyright problem in Google sources. Are you going to copy gson sources to maven source code? If you do that, you need to keep the copyright. Are you going to take the jar and optionally shade it? In that case you need to check if gson.jar is accompanied with NOTICE file. If notice is there,

Re: is it legal to shade "gson" packages in Maven?

2020-02-23 Thread Vladimir Sitnikov
>Why not using XML and built in java support? It is no longer built-in: https://www.oracle.com/technetwork/java/javase/11-relnote-issues-5012449.html#JDK-8190378 Vladimir

Re: is it legal to shade "gson" packages in Maven?

2020-02-23 Thread Vladimir Sitnikov
> Here the GSON library is only one https://github.com/FasterXML/jackson-jr is 100KiB or so. Have you checked it? Vladimir

Re: Maven Wrapper

2020-02-18 Thread Vladimir Sitnikov
Robert>Once the Maven Wrapper has it's final location, one can provide new PRs on our codebase Do you think Wrapper script should verify the integrity of the downloaded file? AFAIK the current implementation just downloads a file and executes it. Executing random files from the internet does not

Re: Maven Ant Tasks - cannot connect to Maven Central anymore

2020-01-16 Thread Vladimir Sitnikov
Cristi>Is there any place to contribute the change? Here: https://github.com/apache/maven-ant-tasks/blob/ed4d9a3bd1a41613791f2466f19c225898d45519/src/main/java/org/apache/maven/artifact/ant/AbstractArtifactWithRepositoryTask.java#L55 PS. https://issues.apache.org/jira/browse/MANTTASKS-206 seems

Re: More checkstyle API changes

2019-12-23 Thread Vladimir Sitnikov
Robert>last time their argument was that they didn't have enough committers to also maintain a maven plugin TL;DR: I'm neither Maven nor Checkstyle committer, and I'm inclined that the PR should be declined. The case is as follows: there's a method in Checkstyle which is a no-op for 3 years or

Apache Wagon vs maven-shade vs embedded licenses

2019-11-06 Thread Vladimir Sitnikov
Enrico>(I apologize, I don't want to pollute the vote thread, but this is somehow related) I've altered the subject. Enrico> For binary release (that actually is not part of the official VOTE) I'm not a lawyer, but: > http://www.apache.org/legal/release-policy.html#what > WHAT IS A RELEASE? >

Re: [VOTE] Release Apache Wagon version 3.3.4

2019-11-05 Thread Vladimir Sitnikov
> Are you referring to his statement of the MIT license? I am Vladimir

Re: [VOTE] Release Apache Wagon version 3.3.4

2019-11-05 Thread Vladimir Sitnikov
> Staging repo: > https://repository.apache.org/content/repositories/maven-1535/ -1 since https://repository.apache.org/content/repositories/maven-1535/org/apache/maven/wagon/wagon-http/3.3.4/wagon-http-3.3.4-shaded.jar violates licensing terms for the third-party code. One of the violations is

Re: last review of Reproducible Builds proposal

2019-11-01 Thread Vladimir Sitnikov
OpenJDK8 uses hashmap for manifest entries, so jar files are not really reproducible there. Note: there's run-to-run randomization in j.u.HashMap, so the manifest contents is not predictable. Vladimir

Re: Next Generation Integration Testing for Plugins/Core

2019-10-31 Thread Vladimir Sitnikov
Karl>on the language features but since JDK8 I don't see any advantage What about Kotlin? There are nice things there: the language is statically compiled, great Java interop, there are extension functions, multiline strings, helpful standard library, default parameters. Kotlin is great for

Re: 3.6.3 release?

2019-10-24 Thread Vladimir Sitnikov
Mickael>there was no other critical issues pending I guess https://issues.apache.org/jira/browse/MNG-6771 (licensing issues with binary artifacts) is a blocker for the release. Vladimir

Re: last review of Reproducible Builds proposal

2019-10-06 Thread Vladimir Sitnikov
>ISO 8601 is neither aware of zones or >DSTs, just abstract offsets which is a good thing Well. ISO 8601 allows timestamps without "UTC offset" For instance, 2019-10-06T12:30:00 is ISO 8601-compatible timestamp, however it is ambiguous. So I suggest that the property must require Z or +HH:MM

Re: last review of Reproducible Builds proposal

2019-10-05 Thread Vladimir Sitnikov
>but >who really looks at the timestamp of entries in release zips/jars/tar.gz >honestly? Tomcat when it decides on what to send in the "Last-Modified" header. For instance, current Gradle does not allow to configure the timestamp, and for reproducible builds it always sets the timestamp to 0 or

Re: Problems with checkstyle tests on Windows (Was [VOTE] Release Apache Maven Checkstyle Plugin version 3.1.0)

2019-07-22 Thread Vladimir Sitnikov
Robert> According to the ASF the -sources.zip are the official release, not the git tag That's right Robert>In this case you don't control the EOL, it is based on the OS of the release manager. Is it? I would disagree here. For instance, Apache JMeter produces both -src.zip (CRLF), and

Re: Problems with checkstyle tests on Windows (Was [VOTE] Release Apache Maven Checkstyle Plugin version 3.1.0)

2019-07-18 Thread Vladimir Sitnikov
Eric>In that case, we should generate the test files (to Eric>avoid git interfering), one with linux-style EOLs and one with Eric>Windows-style EOLs and test with both. You'd better have those files under Git control, and you could just specify .gitattributes so the LF file is always LF, and CRLF

Re: Problems with checkstyle tests on Windows (Was [VOTE] Release Apache Maven Checkstyle Plugin version 3.1.0)

2019-07-17 Thread Vladimir Sitnikov
Just in case: I see you seem to be battling against CRLF For instance: https://github.com/apache/maven-checkstyle-plugin/pull/16 Did you consider to add the relevant .gitattributes file to ensure Git converts the files automatically? With a proper .gitattributes file, it is just impossible to

Re: Problems with checkstyle tests on Windows (Was [VOTE] Release Apache Maven Checkstyle Plugin version 3.1.0)

2019-07-17 Thread Vladimir Sitnikov
Robert>A clone from Git succeeds, but the sources.zip fails. Robert>The files in the zip are generated on a unix system, so all EOLs in text files are LF Robert>... Robert>The fix: add a setup.groovy to the IT and rewrite the java files with OS specific EOLs Alternative approaches: A) Provide

Re: Enable Travis on Maven Scripting Plugin

2019-01-06 Thread Vladimir Sitnikov
Enrico> limited to linux and osx, not windows. Windows can be tested via AppVeyor. The configuration is the same: one adds appveyor.yml (e.g. https://github.com/apache/calcite/blob/master/appveyor.yml ) and asks Infra team to enable AppVeyo-GitHub integration. Vladimir

Re: New Committers - community

2019-01-02 Thread Vladimir Sitnikov
Enrico> For instance maven-surefire integration tests take 2 hours. In general I see Travis (free edition) does not offer many resources. Each Travis job is limited by 50 minutes, however one can split tests into multiple jobs, so it will run fine. Vladimir

Re: New Committers - community

2019-01-02 Thread Vladimir Sitnikov
Enrico> Probably Travis won't be able to run our ITs, at least the free version Why do you think so? Vladimir

Re: New Committers - community

2018-12-29 Thread Vladimir Sitnikov
Stephen > Are you sure? I've just created a dummy account and "approval" does not make merge button magically appear. If you have a couple of minutes, please make a PR (I'll approve it shortly) to https://github.com/vlsi/KE-complex_modifications Note: you can click "edit" button in GitHub UI for

Re: New Committers - community

2018-12-29 Thread Vladimir Sitnikov
Karl Heinz Marbaise > The user community is very big but unfortunately the people who are Karl Heinz Marbaise > willing to help is not that big... Can I (ab)use the thread a bit? One of the issues I run into with Maven is "it takes ages for repeated build when nothing has changed". Of course

Re: New Committers - community

2018-12-29 Thread Vladimir Sitnikov
> And, again, TravisCI also does the same in a decent way, with the benefit > of worrying less about underlying infra and security, and only drawback of > being discoupled from a specific infra (is it really a drawback?) Just in case: Apache Calcite uses both Travis CI and AppVeryor. It just

Re: New Committers - community

2018-12-29 Thread Vladimir Sitnikov
Stephen> Well on other GitHub orgs i’ve seen PR author has Merge button once PR is Stephen> approved by someone with push rights to the repo... until they add a commit Stephen> or the merge result changes It does not work the way you describe. 1) By default GitHub defaults to "Base permissions"

Re: New Committers - community

2018-12-29 Thread Vladimir Sitnikov
Stephen> Nah. Once committers have approved the PR then the PR can be merged by the Stephen> creator of the PR even if not a committer... at least that’s the default Stephen> way GitHub PRs work By default one needs push rights on the repository to merge PRs. "Approval" changes nothing. "PR

MRRESOURCES-91 release request for maven-remote-resources-plugin

2018-09-16 Thread Vladimir Sitnikov
Hi, Would anyone be so kind to release maven-remote-resources-plugin ? My patch was merged more than 3 years ago, and the official release is still missing. Here's the JIRA link: https://issues.apache.org/jira/browse/MRRESOURCES-91 The problem is org.apache:apache pom uses