[jira] [Commented] (GROOVY-7779) Please delete old releases from mirroring system
[ https://issues.apache.org/jira/browse/GROOVY-7779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16559168#comment-16559168 ] Paul King commented on GROOVY-7779: --- The dist/release area should be clean now. > Please delete old releases from mirroring system > > > Key: GROOVY-7779 > URL: https://issues.apache.org/jira/browse/GROOVY-7779 > Project: Groovy > Issue Type: Improvement > Components: release >Affects Versions: 2.4.5 > Environment: https://dist.apache.org/repos/dist/release/groovy/ >Reporter: Sebb >Assignee: Paul King >Priority: Major > Fix For: 2.4.15 > > > To reduce the load on the ASF mirrors, projects are required to delete old > releases [1] > Please can you remove all non-current releases? > i.e. the ones listed as affected. > Thanks! > Also, if you have a release guide, perhaps you could add a cleanup stage to > it? > [1] http://www.apache.org/dev/release.html#when-to-archive -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (GROOVY-8716) Could not find matching constructor for java.util.List()
[ https://issues.apache.org/jira/browse/GROOVY-8716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16559145#comment-16559145 ] Paul King commented on GROOVY-8716: --- Actually, I tried replicating above in the GroovyConsole and couldn't replicate the error. I tried JDK8 and JDK10 as well as 1.1-groovy-2.4, 1.2-groovy-2.4-SNAPSHOT, 1.2-groovy-2.5-SNAPSHOT versions. Can you elaborate the version you are using? I was trying to see if this fix was in the version you were testing against: https://github.com/spockframework/spock/pull/792 > Could not find matching constructor for java.util.List() > > > Key: GROOVY-8716 > URL: https://issues.apache.org/jira/browse/GROOVY-8716 > Project: Groovy > Issue Type: Bug >Affects Versions: 2.5.1 >Reporter: paolo di tommaso >Priority: Major > > The following Spock test fail > > {code:java} > class Foo extends Specification { > def 'should create a list' () { > given: > def folder = null > when: > List results = [] > then: > true > cleanup: > folder?.deleteDir() > } > }{code} > > The reported error is > {code:java} > org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast > object '[]' with class 'java.util.LinkedHashSet' to class 'java.util.List' > due to: groovy.lang.GroovyRuntimeException: Could not find matching > constructor for: java.util.List() > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (GROOVY-8716) Could not find matching constructor for java.util.List()
[ https://issues.apache.org/jira/browse/GROOVY-8716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16558578#comment-16558578 ] Paul King commented on GROOVY-8716: --- It's possibly a Spock bug but we can leave this open until we determine that. > Could not find matching constructor for java.util.List() > > > Key: GROOVY-8716 > URL: https://issues.apache.org/jira/browse/GROOVY-8716 > Project: Groovy > Issue Type: Bug >Affects Versions: 2.5.1 >Reporter: paolo di tommaso >Priority: Major > > The following Spock test fail > > {code:java} > class Foo extends Specification { > def 'should create a list' () { > given: > def folder = null > when: > List results = [] > then: > true > cleanup: > folder?.deleteDir() > } > }{code} > > The reported error is > {code:java} > org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast > object '[]' with class 'java.util.LinkedHashSet' to class 'java.util.List' > due to: groovy.lang.GroovyRuntimeException: Could not find matching > constructor for: java.util.List() > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (GROOVY-7779) Please delete old releases from mirroring system
[ https://issues.apache.org/jira/browse/GROOVY-7779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16558576#comment-16558576 ] Paul King commented on GROOVY-7779: --- Okay, we went with the archive URL because it is the best we could do for a "permalink" URL for those resources and there would be something very wrong if the archive file was ever different - but if that is a hard requirement we can change that. Users that need a permalink for their CI builds can always use bintray or some other mirror I guess. > Please delete old releases from mirroring system > > > Key: GROOVY-7779 > URL: https://issues.apache.org/jira/browse/GROOVY-7779 > Project: Groovy > Issue Type: Improvement > Components: release >Affects Versions: 2.4.5 > Environment: https://dist.apache.org/repos/dist/release/groovy/ >Reporter: Sebb >Assignee: Paul King >Priority: Major > Fix For: 2.4.15 > > > To reduce the load on the ASF mirrors, projects are required to delete old > releases [1] > Please can you remove all non-current releases? > i.e. the ones listed as affected. > Thanks! > Also, if you have a release guide, perhaps you could add a cleanup stage to > it? > [1] http://www.apache.org/dev/release.html#when-to-archive -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (GROOVY-7779) Please delete old releases from mirroring system
[ https://issues.apache.org/jira/browse/GROOVY-7779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16558522#comment-16558522 ] Sebb commented on GROOVY-7779: -- re: 2.4.15 - OK Sigs and hashes for current releases must have links that point to https://www.apache.org/dist/... Please fix that. Only use the archive server for archived releases. > Please delete old releases from mirroring system > > > Key: GROOVY-7779 > URL: https://issues.apache.org/jira/browse/GROOVY-7779 > Project: Groovy > Issue Type: Improvement > Components: release >Affects Versions: 2.4.5 > Environment: https://dist.apache.org/repos/dist/release/groovy/ >Reporter: Sebb >Assignee: Paul King >Priority: Major > Fix For: 2.4.15 > > > To reduce the load on the ASF mirrors, projects are required to delete old > releases [1] > Please can you remove all non-current releases? > i.e. the ones listed as affected. > Thanks! > Also, if you have a release guide, perhaps you could add a cleanup stage to > it? > [1] http://www.apache.org/dev/release.html#when-to-archive -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (GROOVY-8716) Could not find matching constructor for java.util.List()
[ https://issues.apache.org/jira/browse/GROOVY-8716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16558422#comment-16558422 ] paolo di tommaso commented on GROOVY-8716: -- I guess no. I've noticed that just removing the `given` or `cleanup` component, it pass. > Could not find matching constructor for java.util.List() > > > Key: GROOVY-8716 > URL: https://issues.apache.org/jira/browse/GROOVY-8716 > Project: Groovy > Issue Type: Bug >Affects Versions: 2.5.1 >Reporter: paolo di tommaso >Priority: Major > > The following Spock test fail > > {code:java} > class Foo extends Specification { > def 'should create a list' () { > given: > def folder = null > when: > List results = [] > then: > true > cleanup: > folder?.deleteDir() > } > }{code} > > The reported error is > {code:java} > org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast > object '[]' with class 'java.util.LinkedHashSet' to class 'java.util.List' > due to: groovy.lang.GroovyRuntimeException: Could not find matching > constructor for: java.util.List() > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (GROOVY-8716) Could not find matching constructor for java.util.List()
[ https://issues.apache.org/jira/browse/GROOVY-8716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16558421#comment-16558421 ] Paul King commented on GROOVY-8716: --- Does the same test without Spock fail? > Could not find matching constructor for java.util.List() > > > Key: GROOVY-8716 > URL: https://issues.apache.org/jira/browse/GROOVY-8716 > Project: Groovy > Issue Type: Bug >Affects Versions: 2.5.1 >Reporter: paolo di tommaso >Priority: Major > > The following Spock test fail > > {code:java} > class Foo extends Specification { > def 'should create a list' () { > given: > def folder = null > when: > List results = [] > then: > true > cleanup: > folder?.deleteDir() > } > }{code} > > The reported error is > {code:java} > org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast > object '[]' with class 'java.util.LinkedHashSet' to class 'java.util.List' > due to: groovy.lang.GroovyRuntimeException: Could not find matching > constructor for: java.util.List() > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Created] (GROOVY-8716) Could not find matching constructor for java.util.List()
paolo di tommaso created GROOVY-8716: Summary: Could not find matching constructor for java.util.List() Key: GROOVY-8716 URL: https://issues.apache.org/jira/browse/GROOVY-8716 Project: Groovy Issue Type: Bug Affects Versions: 2.5.1 Reporter: paolo di tommaso The following Spock test fail {code:java} class Foo extends Specification { def 'should create a list' () { given: def folder = null when: List results = [] then: true cleanup: folder?.deleteDir() } }{code} The reported error is {code:java} org.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '[]' with class 'java.util.LinkedHashSet' to class 'java.util.List' due to: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: java.util.List() {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (GROOVY-7779) Please delete old releases from mirroring system
[ https://issues.apache.org/jira/browse/GROOVY-7779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16558404#comment-16558404 ] Paul King commented on GROOVY-7779: --- 2.4.15 is current. I plan a 2.4.16 soon. 2.5.0 I remove when I update the download page to add the Groovy installer for 2.5.1. The installer is not an official Apache artifact but we add a link to it as a convenience for our users. They always ask for it. The 2.5.1 installer is out but I haven't been home since then. The links to archive are intentional to avoid URLs on that page breaking if someone does archive a release on the download page early. The alpha ones need cleaning up. I can do that when I get home next week unless someone else wants to jump in. > Please delete old releases from mirroring system > > > Key: GROOVY-7779 > URL: https://issues.apache.org/jira/browse/GROOVY-7779 > Project: Groovy > Issue Type: Improvement > Components: release >Affects Versions: 2.4.5 > Environment: https://dist.apache.org/repos/dist/release/groovy/ >Reporter: Sebb >Assignee: Paul King >Priority: Major > Fix For: 2.4.15 > > > To reduce the load on the ASF mirrors, projects are required to delete old > releases [1] > Please can you remove all non-current releases? > i.e. the ones listed as affected. > Thanks! > Also, if you have a release guide, perhaps you could add a cleanup stage to > it? > [1] http://www.apache.org/dev/release.html#when-to-archive -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (GROOVY-7779) Please delete old releases from mirroring system
[ https://issues.apache.org/jira/browse/GROOVY-7779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16558284#comment-16558284 ] Sebb commented on GROOVY-7779: -- The links for sigs and hashes for 2.4.15 point to archive.apache.org, so I assumed that the release was not current. Are there plans for 2.4.16? If not, then it is nor current. All PMC members have write access to https://dist.apache.org/repos/dist/release/groovy/ so you should be able to delete the old directories, e.g. svn rm -m "Archive" https://dist.apache.org/repos/dist/release/groovy/2.5.0 > Please delete old releases from mirroring system > > > Key: GROOVY-7779 > URL: https://issues.apache.org/jira/browse/GROOVY-7779 > Project: Groovy > Issue Type: Improvement > Components: release >Affects Versions: 2.4.5 > Environment: https://dist.apache.org/repos/dist/release/groovy/ >Reporter: Sebb >Assignee: Paul King >Priority: Major > Fix For: 2.4.15 > > > To reduce the load on the ASF mirrors, projects are required to delete old > releases [1] > Please can you remove all non-current releases? > i.e. the ones listed as affected. > Thanks! > Also, if you have a release guide, perhaps you could add a cleanup stage to > it? > [1] http://www.apache.org/dev/release.html#when-to-archive -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Commented] (GROOVY-7779) Please delete old releases from mirroring system
[ https://issues.apache.org/jira/browse/GROOVY-7779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16558260#comment-16558260 ] Jochen Theodorou commented on GROOVY-7779: -- 2.4.15 is still a current release and should not be deleted yet. For 2.5.0, 2.6.0-alpha-3, 3.0.0-alpha-1, 3.0.0-alpha-2 I agree, but it seems I do not have the rights to do it > Please delete old releases from mirroring system > > > Key: GROOVY-7779 > URL: https://issues.apache.org/jira/browse/GROOVY-7779 > Project: Groovy > Issue Type: Improvement > Components: release >Affects Versions: 2.4.5 > Environment: https://dist.apache.org/repos/dist/release/groovy/ >Reporter: Sebb >Assignee: Paul King >Priority: Major > Fix For: 2.4.15 > > > To reduce the load on the ASF mirrors, projects are required to delete old > releases [1] > Please can you remove all non-current releases? > i.e. the ones listed as affected. > Thanks! > Also, if you have a release guide, perhaps you could add a cleanup stage to > it? > [1] http://www.apache.org/dev/release.html#when-to-archive -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Reopened] (GROOVY-7779) Please delete old releases from mirroring system
[ https://issues.apache.org/jira/browse/GROOVY-7779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebb reopened GROOVY-7779: -- There are still several old releases under dist/release: 2.4.15/ 2.5.0/ 2.6.0-alpha-3/ 3.0.0-alpha-1/ 3.0.0-alpha-2/ Please tidy these up. > Please delete old releases from mirroring system > > > Key: GROOVY-7779 > URL: https://issues.apache.org/jira/browse/GROOVY-7779 > Project: Groovy > Issue Type: Improvement > Components: release >Affects Versions: 2.4.5 > Environment: https://dist.apache.org/repos/dist/release/groovy/ >Reporter: Sebb >Assignee: Paul King >Priority: Major > Fix For: 2.4.15 > > > To reduce the load on the ASF mirrors, projects are required to delete old > releases [1] > Please can you remove all non-current releases? > i.e. the ones listed as affected. > Thanks! > Also, if you have a release guide, perhaps you could add a cleanup stage to > it? > [1] http://www.apache.org/dev/release.html#when-to-archive -- This message was sent by Atlassian JIRA (v7.6.3#76005)