-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
I have attached a patch which exposes SVN_AUTHOR and SVN_COMMIT_MSG environment variables (and _n versions for multi-module projects) in the same way that SVN_REVISION and SVN_URL are exposed.
This patch is made against trunk@39940, and it would be great to get it into the 1.33 release.
As per my previous patch, I'm afraid I cannot get the test suite to run ("mvn clean install" fails the tests), so I haven't written any tests for this patch, and cannot validate that it doesn't break any existing tests. I've done "real life" testing, and it seems good.
Hi,
I spent 4 hours last night trying to get tests running, and got nowhere. I'm a big fan of TDD, so I'm happy to have another go. I'll try and run the tests again and open another ticket with any issues I have.
You're right, that it doesn't handle multiple authors/messages, but that's exactly the same behaviour you get with the current SVN_REVISION variable. It just tells you the latest revision that you're building. The SVN_AUTHOR and SVN_COMMIT_MSG variables do the same thing.
Danny