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

LPS-68180 Update build script rules #100

Closed
wants to merge 5 commits into from

Conversation

csierra
Copy link

@csierra csierra commented Sep 23, 2016

/cc @topolik Test is not passing because antisamy formats the output in a different way than the test expects

@csierra
Copy link
Author

csierra commented Sep 23, 2016

hey @Ithildir, could you please have a look at this pull? I did what you suggested of keeping the file in git and execute the download task only when the file is missing. I have a problem, though, and it is that source formatter tries to format source the file and it fails miserably.

Is there any way to prevent source formatter from "fixing" this configuration XML?

Thanks.

@csierra
Copy link
Author

csierra commented Sep 23, 2016

ci:stop

@liferay-continuous-integration
Copy link
Collaborator

Some tests FAILED.

Build Time: 4 minutes 13 seconds

Base Branch:

Branch Name: master
Branch GIT ID: 9434a0fada56145d578618d5483b4851c5ad726b

Job Summary:

For more details click here.

Failed Jobs:

  1. test-portal-acceptance-pullrequest(master)
    Job Results:

    1 Job Passed.
    2 Jobs Failed.

    Completed with the status of ABORTED.
  2. test-portal-acceptance-pullrequest-dist(master)/jdk8
    Build was aborted
For upstream results, click here.

@Ithildir
Copy link

Hi @csierra!

Have you tried to add a source.formatter.excludes line in this source-formatter.properties?

@csierra
Copy link
Author

csierra commented Sep 23, 2016

hey @Ithildir... no... but that's global, isn't it? don't we have anything local to the module?

@Ithildir
Copy link

I've seen that @hhuijser changed things lately, it seems that modules (or groups of modules like portal-security) can have their own source-formatter.properties. For example here.

@csierra
Copy link
Author

csierra commented Sep 23, 2016

hey... that's cool but are the paths still relative to the root of the portal instead of the module?

@csierra
Copy link
Author

csierra commented Sep 23, 2016

I tried both in portal-security and portal-security-antisamy with no luck. gradlew formatSource is still failing :-(

@Ithildir
Copy link

Then we need to summon @hhuijser to shine a light on this...

@csierra
Copy link
Author

csierra commented Sep 23, 2016

summon summon \o/

@hhuijser
Copy link

@csierra it worked for me: csierra#250

If you keep having problems, I'd suggest rebasing to latest master and making sure you're running latest SF.

@ambrinchaudhary
Copy link
Owner

Just started reviewing :)

:octocat: Sent from GH.

</attribute>
<attribute name="type">
<regexp-list>
<regexp value="[a-zA-Z0-9]+/[a-zA-Z0-9]+" />
Copy link

Choose a reason for hiding this comment

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

@csierra Just out of curiosity, this is a mime type regex, correct? Mime types contain also dashes. Or is it any intent in leaving the dash outside? Thx!

@ambrinchaudhary
Copy link
Owner

This was the new PR: #102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants