chewiebug / GCViewer

Fork of tagtraum industries' GCViewer. Tagtraum stopped development in 2008, I aim to improve support for Sun's / Oracle's java 1.6+ garbage collector logs (including G1 collector)
https://github.com/chewiebug/GCViewer/wiki
Other
4.47k stars 979 forks source link

Git error when building without git #279

Open ekpeters opened 1 day ago

ekpeters commented 1 day ago

I just grabbed this project off the repo, tried a build with ye olde 'mvn package' and got:

[ERROR] Exception while executing SCM command.: Error while executing command. Error while executing process. Cannot run program "git"

Not a surprise - I don't let build tools at git.

I don't see anything in the instructions for building without git, nor am I keen on granting build tools unfettered access to scm in the modern security realm... I don't do SCM through maven, so if there's an id-10-t easy way to skip it, I don't know it, and frankly, I feel such updates ought to be opt-in, not opt-out, as it can complicate troubleshooting things in development if every build you do updates the code you're trying to troubleshoot.

"Hang on ... why's the instruction pointer on a comment again...  bugger!"

In a development context, updating from SCM ought to be an explicit action, not implicit. To do otherwise invites the 'too many chefs' problem.

Perhaps I'm being unreasonable... whatever. Calling it like I see it, and as I see it.

While I'd prefer to build it myself, the easy alternative is grab the jar from github and cross off any notion of tweaking anything.

awesomefly commented 1 day ago

这是来自QQ邮箱的假期自动回复邮件。   您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。