Issue 118: Bug Reporting inside Forge lacks checks on Rev
Post MTG Forge Related Programming Questions Here
Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins
19 posts
• Page 2 of 2 • 1, 2
Re: Issue 118: Bug Reporting inside Forge lacks checks on Re
by Rob Cashwalker » 24 Aug 2011, 18:40
I installed the Windows build of Subversion client, it automatically set the path, and I was able to use the svn command from any folder. But running from eclipse, it was going to exceptions without visible errors. (so I added console println's) I realized that eclipse was still running from before I installed Subversion, so a restart fixed the path error.
Now I finally got the svn rev to show up but I needed to change BuildInfo a bit. It took at least 30 - 40 seconds for svnversion to return, even from a command prompt. While "svnversion src" came back instantly. So I modified the line a bit:(r.9900)
Edit - I just put up r.9901 which fixes all the issues related to the BugzReporter screen and I closed the mantis issues on them.
Now I finally got the svn rev to show up but I needed to change BuildInfo a bit. It took at least 30 - 40 seconds for svnversion to return, even from a command prompt. While "svnversion src" came back instantly. So I modified the line a bit:(r.9900)
- Code: Select all
String cmd[] = {"svnversion", "src"};
proc = Runtime.getRuntime().exec(cmd, null, null);
Edit - I just put up r.9901 which fixes all the issues related to the BugzReporter screen and I closed the mantis issues on them.
The Force will be with you, Always.
-
Rob Cashwalker - Programmer
- Posts: 2167
- Joined: 09 Sep 2008, 15:09
- Location: New York
- Has thanked: 5 times
- Been thanked: 40 times
Re: Issue 118: Bug Reporting inside Forge lacks checks on Re
by Braids » 24 Aug 2011, 21:42
OK, that's cool. src is good enough. nice job!Rob Cashwalker wrote:I installed the Windows build of Subversion client, it automatically set the path, and I was able to use the svn command from any folder. But running from eclipse, it was going to exceptions without visible errors. (so I added console println's) I realized that eclipse was still running from before I installed Subversion, so a restart fixed the path error.
Now I finally got the svn rev to show up but I needed to change BuildInfo a bit. It took at least 30 - 40 seconds for svnversion to return, even from a command prompt. While "svnversion src" came back instantly. So I modified the line a bit:(r.9900)
- Code: Select all
String cmd[] = {"svnversion", "src"};
proc = Runtime.getRuntime().exec(cmd, null, null);
Edit - I just put up r.9901 which fixes all the issues related to the BugzReporter screen and I closed the mantis issues on them.

"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. 

-
Braids - Programmer
- Posts: 556
- Joined: 22 Jun 2011, 00:39
- Location: Unknown. Hobby: Driving myself and others to constructive madness.
- Has thanked: 1 time
- Been thanked: 1 time
Re: Issue 118: Bug Reporting inside Forge lacks checks on Re
by Braids » 25 Aug 2011, 02:40
i'll do that now, but i'm going to create a "detected in Git" tag to replace it first. that way we don't lose history.Rob Cashwalker wrote:Mind if I remove Git as a potential version?
edit: i'll go ahead and delete it. i can't search by product version, target version, or fixed in version.

"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. 

-
Braids - Programmer
- Posts: 556
- Joined: 22 Jun 2011, 00:39
- Location: Unknown. Hobby: Driving myself and others to constructive madness.
- Has thanked: 1 time
- Been thanked: 1 time
Re: Issue 118: Bug Reporting inside Forge lacks checks on Re
by Braids » 25 Aug 2011, 03:11
i've copied all the Git Rev Detected and Git Rev Fixed fields into notes, so we won't lose any data. i'll delete the Git custom fields now.
edit: Done.
edit: Done.
"That is the dumbest thing I've ever seen." --Rob Cashwalker, regarding Innistrad double-sided cards. One of the first times he and I have ever agreed on something. 

-
Braids - Programmer
- Posts: 556
- Joined: 22 Jun 2011, 00:39
- Location: Unknown. Hobby: Driving myself and others to constructive madness.
- Has thanked: 1 time
- Been thanked: 1 time
19 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 26 guests