-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update of Port ehcache to version 3.8.1 #6784
Conversation
Travis Build #11028 Failed. Lint results
Port ehcache fail on xcode10.3. Log |
The The log of the build failure says:
Since you're now downloading a prebuilt jar rather than building it, you'd need to change The log also says:
Since you don't want MacPorts to try to extract this file you should add the line Probably should add
|
Oh, and add |
Travis Build #11040 Failed. Lint results
Port ehcache fail on xcode10.3. Log |
Travis Build #11041 Failed. Lint results
Port ehcache fail on xcode10.3. Log |
Travis Build #11042 Failed. Lint results
Port ehcache fail on xcode10.3. Log |
Oh whoops I meant |
Travis Build #11043 Passed. Lint results
Port ehcache success on xcode10.3. Log |
87a312d
to
2306eaf
Compare
Travis Build #11044 Passed. Lint results
Port ehcache success on xcode10.3. Log |
Here's an example to use github Portgroup: https://github.com/macports/macports-ports/blob/master/devel/libsolv/Portfile#L7 |
2306eaf
to
3abcb85
Compare
Travis Build #11045 Failed. Lint results
Port ehcache fail on xcode10.3. Log |
Travis Build #11046 Passed. Lint results
Port ehcache success on xcode10.3. Log |
Travis Build #11058 Failed. Lint results
Port ehcache fail on xcode10.3. Log |
I didn't notice that there is a difference between the desired port name "ehcache" and the github repository name "ehcache3" so yes you do need to override the github portgroup's default name with It's failing to fetch because the github portgroup overrides the default for distname. Usually this is helpful, but in the case of this port it's unfortunately counterproductive, so you'll need to override distname again with |
Travis Build #11061 Passed. Lint results
Port ehcache success on xcode10.3. Log |
5db218d
to
72597e8
Compare
Travis Build #11062 Passed. Lint results
Port ehcache success on xcode10.3. Log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please follow commit message guidelines (you have the link in the PR template).
java/ehcache/Portfile
Outdated
|
||
categories java | ||
maintainers nomaintainer | ||
platforms darwin | ||
license Apache-2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make sure that you use consistent whitespacing (spaces only, no tabs, align to 20 spaces) throughout the file. If the original uses tabs, create a separate commit that first fixes whitespacing, and then another commit with functional changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, Thanks for the suggestions. I'll rectify it soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I've added the whitespaces, but the resulting alignment doesn't seem to serve the purpose. You may kindly find the same in my commit and revert. I'm trying out a way of ensuring a fine alignment. Any advice in this regard is always highly appreciated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to use spaces instead of tabs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
java/ehcache/Portfile
Outdated
|
||
depends_build bin:ant:apache-ant | ||
depends_lib bin:java:kaffe | ||
checksums md5 a6f66597f5aca8104972a79e72d62a04 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you really need md5
? It's not strictly deprecated. If the upstream publishes md5
it may be kept.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Following the other existing portfiles, I had wished to retain it. I may remove it, may please let me know if required.
Travis Build #11064 Passed. Lint results
Port ehcache success on xcode10.3. Log |
b0f3b1b
to
aa8897d
Compare
Travis Build #11072 Passed. Lint results
Port ehcache success on xcode10.3. Log |
Travis Build #11073 Passed. Lint results
Port ehcache success on xcode10.3. Log |
java/ehcache/Portfile
Outdated
1. Fast \ | ||
2. Simple \ | ||
3. Acts as a pluggable cache for Hibernate \ | ||
4. Small foot print. Both in terms of size and memory requirements. \ | ||
5. Minimal dependencies. \ | ||
6. Fully documented. See the online Documentation, FAQ and the online JavaDoc. \ | ||
7. Comprehensively Test Coverage. See the clover test report. \ | ||
8. Scalable to hundreds of caches and large multi-cpu servers. \ | ||
9. Provides LRU, LFU and FIFO cache eviction policies. \ | ||
10. Available under the Apache 1.1 license. Ehcache's copyright and licensing has been reviewed and approved by the Apache Software Foundation, making ehcache suitable for use in Apache projects. \ | ||
11. Production tested. All final versions of ehcache are production tested for several weeks on a large and very busy eCommerce site before release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your lines are too long here. First, start at four spaces out and for the lines that are still past column 80, wrap them to the next line.
java/ehcache/Portfile
Outdated
xinstall -m 644 \ | ||
${distpath}/${distfiles} \ | ||
${distpath} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is normally all on the same line. Don't wrap it to make 3 lines.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash the commits and fix the commit message according to the guidelines.
@@ -1,53 +1,54 @@ | |||
PortSystem 1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that you fixed the spacing: check other ports which contain some special commented-out settings in the first line and copy-paste that one here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, I've added the same.
3fe3d22
to
03074ec
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please read again through the Commit Message Guidelines.
Travis Build #11076 Passed. Lint results
Port ehcache success on xcode10.3. Log |
03074ec
to
e8b26dc
Compare
Travis Build #11077 Passed. Lint results
Port ehcache success on xcode10.3. Log |
Hi, I've gone through the same and have incorporated changes. Kindly see. |
java/ehcache/Portfile
Outdated
following features: \ | ||
1. Fast \ | ||
2. Simple \ | ||
3. Acts as a pluggable cache for Hibernate \ | ||
4. Small foot print. Both in terms of size and memory \ | ||
requirements. \ | ||
5. Minimal dependencies. \ | ||
6. Fully documented. See the online Documentation, FAQ \ | ||
and the online JavaDoc. \ | ||
7. Comprehensively Test Coverage. See the clover test \ | ||
report. \ | ||
8. Scalable to hundreds of caches and large multi-cpu \ | ||
servers. \ | ||
9. Provides LRU, LFU and FIFO cache eviction policies. \ | ||
10. Available under the Apache 1.1 license. Ehcache's \ | ||
copyright and licensing has been reviewed and approved \ | ||
by the Apache Software Foundation, making ehcache \ | ||
suitable for use in Apache projects. \ | ||
11. Production tested. All final versions of ehcache \ | ||
are production tested for several weeks on a large and \ | ||
very busy eCommerce site before release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are wasting too much space here. Move these lines left to start at column 4. Then you can re-wrap out to column 80. Then it won't be using as many lines. Does that make sense?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Sir,
I've made the change accordingly. Please review my latest commit. Thanks.
e8b26dc
to
38d69f0
Compare
Travis Build #11079 Passed. Lint results
Port ehcache success on xcode10.3. Log |
java/ehcache/Portfile
Outdated
|
||
description Ehcache is a pure Java, in-process object cache. | ||
long_description Ehcache is a pure Java, in-process cache with the \ | ||
following features: \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there. This one (1) line should be moved left to column 4 also.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've done the same, Sir. May please review it. Thanks.
* update to version 3.8.1 * removing dependency on deprecated port kaffe * introducing dependency on Java portgroup * rectifying alignment and spacing Closes: https://trac.macports.org/ticket/60219
38d69f0
to
bb146af
Compare
Resolution of issue #60219 - [https://trac.macports.org/ticket/60219]
Type(s)
Tested on
macOS 10.15.3 19D76
Verification
Have you
port lint
?sudo port test
?sudo port -vst install
?