Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MSITE-842 #8

Closed
wants to merge 6 commits into from
Closed

Conversation

bertysentry
Copy link
Contributor

  • Ensured that the actual filename of the Sink being rendered is exposed in RenderingContext for multi-page reports
  • Sub-pages (or sub-sinks) in subdirectories are now supported

* Ensured that the actual filename of the Sink being rendered is exposed in RenderingContext for multi-page reports
* Sub-pages (or sub-sinks) in subdirectories are now supported
@michael-o
Copy link
Member

Looking into it.

Copy link
Member

@michael-o michael-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have several formatting shifts. Can you review and fix? I wll try meanwhile to understand your changes.

@michael-o michael-o self-requested a review June 26, 2019 20:04
Copy link
Member

@michael-o michael-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have several formatting shifts. Can you review and fix?

@michael-o
Copy link
Member

The fix is fine, the IT passes, Default Skin and Fluido Skin pass also. You just need to fix the formatting and I will merge and reroll 3.8.1.

@bertysentry
Copy link
Contributor Author

Yeah, sorry about the formatting. I don't know how I missed this...

* Fixed format issues after code review
* Undone unintentional changes on whitespaces
@bertysentry
Copy link
Contributor Author

All fixed! Sorry for the double commit, there were still some whitespaces changes that were unintentional and unnecessary. Let me know if you prefer me to squash everything.

* Fixed silly issue introduced by git reverse
Copy link
Member

@michael-o michael-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few issues with the formatting left and then we can merge.

* Fixed remaining formatting issues in the code of the new IT (MSITE-842)
@bertysentry
Copy link
Contributor Author

All requested changes implemented. I hope I didn't introduce other problems...

Copy link
Member

@michael-o michael-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Still some issue left, please see comments

src/it/projects/MSITE-842/pom.xml Outdated Show resolved Hide resolved
src/it/projects/MSITE-842/pom.xml Outdated Show resolved Hide resolved
src/it/projects/MSITE-842/src/it/MSITE-842.html Outdated Show resolved Hide resolved
src/it/projects/MSITE-842/src/it/another-page.html Outdated Show resolved Hide resolved
src/it/projects/MSITE-842/src/it/sub/sub.html Outdated Show resolved Hide resolved
src/it/projects/MSITE-842/src/site/show-properties.vm Outdated Show resolved Hide resolved
* Fixed SLA formatting
* Fixed IT **pom.xml** indentation
asfgit pushed a commit that referenced this pull request Jun 27, 2019
…aven Report plugins that use several Sink instances

This closes #8
* Ensured that the actual filename of the Sink being rendered is exposed in RenderingContext for multi-page reports
* Sub-pages (or sub-sinks) in subdirectories are now supported
asfgit pushed a commit that referenced this pull request Jun 27, 2019
…aven Report plugins that use several Sink instances

This closes #8
* Ensured that the actual filename of the Sink being rendered is exposed in RenderingContext for multi-page reports
* Sub-pages (or sub-sinks) in subdirectories are now supported
@michael-o michael-o self-requested a review June 30, 2019 08:58
Copy link
Member

@michael-o michael-o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All is fine now, expect for some jira on the test runner. I need to figure out why and then I can merge. Any ideas?

@bertysentry
Copy link
Contributor Author

@michael-o What do you see in the test runner? I get all tests as "PASSED" in the integration tests (and unit tests as well).

@michael-o
Copy link
Member

@bertysentry
Copy link
Contributor Author

That's weird. The generated MSITE-842.html file must equal to the one provided in src/it. In Jenkins logs, they appear to be the same, but Groovy is saying that they are not.

Maybe it's a Windows-vs-UNIX end-of-line issue, although I would have expect the File.getText() Groovy method to handle these gracefully.

Jenkins seems to be running on Windows here. Maybe the source code was obtained with UNIX eol and the produced file is using Windows eol. Or the opposite, go figure... Do you have access to the actual files on Jenkins?

@michael-o
Copy link
Member

I assume line ending is the case. Unfortunately, I don't have access to the Jenkins workspaces. I only see the physical paths.

@michael-o
Copy link
Member

I will try to remove the license header and see how far I get.

@michael-o
Copy link
Member

OK, dropped the license headers, let's see what happens.

asfgit pushed a commit that referenced this pull request Jul 1, 2019
…aven Report plugins that use several Sink instances

* Ensured that the actual filename of the Sink being rendered is exposed in RenderingContext for multi-page reports
* Subpages (or subsinks) in subdirectories are now supported

This closes #8
@michael-o
Copy link
Member

RAT breaks the build. We need to figure out the failure and fix it.

@michael-o
Copy link
Member

As far as I remember I had a similar case with some other components in ITs. I normalized the line endings because Groovy's getText() did not normalize line endings.

@asfgit asfgit closed this in 42617d0 Jul 1, 2019
@bertysentry
Copy link
Contributor Author

@michael-o I see the build was successful. How did you fix it? (and thank you for merging! :-) )

@michael-o
Copy link
Member

@bertysentry see: 42617d0#diff-cd32b8e8548e1b3e534123783da08916R29

I will try to roll today or tomorrow 3.8.1

@bertysentry
Copy link
Contributor Author

Ok thank you for fixing the problem, and sorry about that.
And thank you for 3.8.1! :-)

@bertysentry bertysentry deleted the feature/MSITE-842 branch July 3, 2019 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants