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

(#1226) Delete Andand introduce ForEach #1272

Merged
merged 5 commits into from
Jan 29, 2020
Merged

(#1226) Delete Andand introduce ForEach #1272

merged 5 commits into from
Jan 29, 2020

Conversation

ryoku
Copy link
Contributor

@ryoku ryoku commented Jan 8, 2020

This is for issue (#1226)

Extracted ForEach from And
Added ForEachTest
Extracted ForEachInThreads from AndInThreads
Added ForEachInThreadsTest
Updated README.md accordingly

@codecov-io
Copy link

codecov-io commented Jan 8, 2020

Codecov Report

Merging #1272 into master will increase coverage by 0.15%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1272      +/-   ##
============================================
+ Coverage     89.11%   89.26%   +0.15%     
- Complexity     1676     1678       +2     
============================================
  Files           281      283       +2     
  Lines          4033     4035       +2     
  Branches        212      212              
============================================
+ Hits           3594     3602       +8     
+ Misses          404      399       -5     
+ Partials         35       34       -1
Impacted Files Coverage Δ Complexity Δ
src/main/java/org/cactoos/scalar/And.java 100% <ø> (ø) 10 <0> (-2) ⬇️
src/main/java/org/cactoos/scalar/AndInThreads.java 84.09% <ø> (-1.33%) 16 <0> (-2)
src/main/java/org/cactoos/func/ForEach.java 100% <100%> (ø) 2 <2> (?)
...c/main/java/org/cactoos/func/ForEachInThreads.java 100% <100%> (ø) 2 <2> (?)
src/main/java/org/cactoos/iterator/TailOf.java 100% <0%> (ø) 1% <0%> (-2%) ⬇️
src/main/java/org/cactoos/scalar/Solid.java 100% <0%> (+10%) 4% <0%> (+1%) ⬆️
...in/java/org/cactoos/iterator/IteratorEnvelope.java 41.66% <0%> (+41.66%) 3% <0%> (+3%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 44c3cd1...790f943. Read the comment docs.

@0crat 0crat added the scope label Jan 8, 2020
@0crat
Copy link
Collaborator

0crat commented Jan 8, 2020

Job #1272 is now in scope, role is REV

@0crat
Copy link
Collaborator

0crat commented Jan 8, 2020

This pull request #1272 is assigned to @fanifieiev/z, here is why; the budget is 15 minutes, see §4; please, read §27 and when you decide to accept the changes, inform @paulodamaso/z (the architect) right in this ticket; if you decide that this PR should not be accepted ever, also inform the architect; this blog post will help you understand what is expected from a code reviewer; there will be no monetary reward for this job

Copy link
Contributor

@fanifieiev fanifieiev left a comment

Choose a reason for hiding this comment

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

@ryoku Please take a look at the review comments

* There is no thread-safety guarantee.
*
* @param <X> The type to itetare over
* @since 0.44
Copy link
Contributor

Choose a reason for hiding this comment

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

@ryoku I think the version is not correct here. Take a look into pom.xml.

* @exception Exception If fails
*/
@SafeVarargs
public final void exec(final X... src) throws Exception {
Copy link
Contributor

Choose a reason for hiding this comment

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

@ryoku Public methods in a class should only exist if the underlying interface has it. Please remove it.
Read https://www.yegor256.com/2014/11/20/seven-virtues-of-good-object.html#2-he-works-by-contracts

* There is no thread-safety guarantee.
*
* @param <X> The type to itetare over
* @since 0.44
Copy link
Contributor

Choose a reason for hiding this comment

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

@ryoku I think the version is not correct here. Take a look into pom.xml.

/**
* Test case for {@link ForEachInThreads}.
*
* @since 0.44
Copy link
Contributor

Choose a reason for hiding this comment

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

@ryoku I think the version is not correct here. Take a look into pom.xml.

/**
* Test case for {@link ForEach}.
*
* @since 0.44
Copy link
Contributor

Choose a reason for hiding this comment

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

@ryoku I think the version is not correct here. Take a look into pom.xml.

(Proc<Integer>) list::add
).exec(1, 1);
new Assertion<>(
"List does not contain mapped Iterable elements (2)", list, new IsEqual<>(
Copy link
Contributor

Choose a reason for hiding this comment

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

@ryoku Fix the indention here.

* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package org.cactoos.iterator;
Copy link
Contributor

Choose a reason for hiding this comment

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

@ryoku The class should be located in org.cactoos.func package.

* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package org.cactoos.iterator;
Copy link
Contributor

Choose a reason for hiding this comment

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

@ryoku The class should be located in org.cactoos.func package.

* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package org.cactoos.iterator;
Copy link
Contributor

Choose a reason for hiding this comment

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

@ryoku The class should be located in org.cactoos.func package.

* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package org.cactoos.iterator;
Copy link
Contributor

Choose a reason for hiding this comment

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

@ryoku The class should be located in org.cactoos.func package.

/**
* The proc.
*/
private final Func<X, Boolean> wrapped;
Copy link
Contributor

Choose a reason for hiding this comment

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

@ryoku Please change wrapped variable name to func

/**
* The proc.
*/
private final Func<X, Boolean> wrapped;
Copy link
Contributor

Choose a reason for hiding this comment

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

@ryoku Please change wrapped variable name to func

README.md Outdated
"how", "are", "you"
).value();
new ForEach<String>(
(String input) -> System.out.printf(
Copy link
Contributor

Choose a reason for hiding this comment

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

@ryoku Please change to input -> System.out.printf(

public void testProcIterable() throws Exception {
final List<Integer> list = new LinkedList<>();
new ForEach<Integer>(
(Proc<Integer>) list::add
Copy link
Contributor

Choose a reason for hiding this comment

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

@ryoku Please change to list:add only

)
);
new Assertion<>(
"List does not contain mapped Iterable elements (1)", list,
Copy link
Contributor

Choose a reason for hiding this comment

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

@ryoku Please move list to new line

new Assertion<>(
"List does not contain mapped Iterable elements (1)", list,
new IsIterableContainingInAnyOrder<Integer>(
new ListOf<Matcher<? super Integer>>(
Copy link
Contributor

Choose a reason for hiding this comment

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

@ryoku Please replace <Matcher<? super Integer>> with <>. It is redundant.

Copy link
Contributor

@fanifieiev fanifieiev left a comment

Choose a reason for hiding this comment

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

@ryoku Please take a look at the review comments once again.

Copy link
Contributor

@fanifieiev fanifieiev left a comment

Choose a reason for hiding this comment

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

@ryoku Good
@paulodamaso The review process is completed. We are good to merge this PR. Please merge.

@fanifieiev
Copy link
Contributor

@paulodamaso Please merge

@paulodamaso
Copy link
Contributor

@rultor merge

@rultor
Copy link
Collaborator

rultor commented Jan 13, 2020

@rultor merge

@paulodamaso OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Collaborator

rultor commented Jan 13, 2020

@rultor merge

@paulodamaso @ryoku Oops, I failed. You can see the full log here (spent 25s)

+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 3130
+ echo '1.68.9 b65c1294d'
1.68.9 b65c1294d
+ date
Mon Jan 13 15:24:04 CET 2020
+ uptime
 15:24:04 up 88 days, 12:32,  0 users,  load average: 6.41, 5.35, 4.92
+ ff=default
+ image=yegor256/java8
+ rebase=false
+ head_branch=master
./run.sh: line 23: syntax error near unexpected token `('
'cid' file is absent, container wasn't started correctly

@paulodamaso
Copy link
Contributor

@rultor merge

@rultor
Copy link
Collaborator

rultor commented Jan 13, 2020

@rultor merge

@paulodamaso OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Collaborator

rultor commented Jan 13, 2020

@rultor merge

@paulodamaso @ryoku Oops, I failed. You can see the full log here (spent 23s)

+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 23412
+ echo '1.68.9 b65c1294d'
1.68.9 b65c1294d
+ date
Mon Jan 13 15:34:38 CET 2020
+ uptime
 15:34:38 up 88 days, 12:43,  0 users,  load average: 5.69, 7.06, 6.22
+ ff=default
+ image=yegor256/java8
+ rebase=false
+ head_branch=master
./run.sh: line 23: syntax error near unexpected token `('
'cid' file is absent, container wasn't started correctly

@paulodamaso
Copy link
Contributor

@rultor merge

@rultor
Copy link
Collaborator

rultor commented Jan 23, 2020

@rultor merge

@paulodamaso OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Collaborator

rultor commented Jan 23, 2020

@rultor merge

@paulodamaso @ryoku Oops, I failed. You can see the full log here (spent 23s)

+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 31827
+ echo '1.68.9 b65c1294d'
1.68.9 b65c1294d
+ date
Thu Jan 23 13:36:45 CET 2020
+ uptime
 13:36:45 up 98 days, 10:45,  0 users,  load average: 5.23, 4.84, 4.92
+ ff=default
+ image=yegor256/java8
+ rebase=false
+ head_branch=master
./run.sh: line 23: syntax error near unexpected token `('
'cid' file is absent, container wasn't started correctly

@paulodamaso
Copy link
Contributor

@rultor merge

@rultor
Copy link
Collaborator

rultor commented Jan 23, 2020

@rultor merge

@paulodamaso OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Collaborator

rultor commented Jan 23, 2020

@rultor merge

@paulodamaso @ryoku Oops, I failed. You can see the full log here (spent 23s)

+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 14654
+ echo '1.68.9 b65c1294d'
1.68.9 b65c1294d
+ date
Thu Jan 23 15:06:05 CET 2020
+ uptime
 15:06:05 up 98 days, 12:14,  0 users,  load average: 5.05, 4.92, 4.87
+ ff=default
+ image=yegor256/java8
+ rebase=false
+ head_branch=master
./run.sh: line 23: syntax error near unexpected token `('
'cid' file is absent, container wasn't started correctly

@paulodamaso
Copy link
Contributor

@rultor merge

@rultor
Copy link
Collaborator

rultor commented Jan 28, 2020

@rultor merge

@paulodamaso OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Collaborator

rultor commented Jan 28, 2020

@rultor merge

@paulodamaso @ryoku Oops, I failed. You can see the full log here (spent 22s)

+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 18651
+ echo '1.68.9 b65c1294d'
1.68.9 b65c1294d
+ date
Tue Jan 28 01:07:13 CET 2020
+ uptime
 01:07:13 up 102 days, 22:16,  0 users,  load average: 4.97, 4.73, 4.77
+ ff=default
+ image=yegor256/java8
+ rebase=false
+ head_branch=master
./run.sh: line 23: syntax error near unexpected token `('
'cid' file is absent, container wasn't started correctly

@paulodamaso
Copy link
Contributor

@rultor merge

@rultor
Copy link
Collaborator

rultor commented Jan 29, 2020

@rultor merge

@paulodamaso OK, I'll try to merge now. You can check the progress of the merge here

@rultor
Copy link
Collaborator

rultor commented Jan 29, 2020

@rultor merge

@paulodamaso @ryoku Oops, I failed. You can see the full log here (spent 22s)

+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 18415
+ echo '1.68.9 b65c1294d'
1.68.9 b65c1294d
+ date
Wed Jan 29 03:17:21 CET 2020
+ uptime
 03:17:21 up 104 days, 26 min,  0 users,  load average: 5.61, 5.31, 5.08
+ ff=default
+ image=yegor256/java8
+ rebase=false
+ head_branch=master
./run.sh: line 23: syntax error near unexpected token `('
'cid' file is absent, container wasn't started correctly

@paulodamaso paulodamaso changed the title (#1226) Delete And(Proc, ...) and introduce ForEach(Proc, ...) (#1226) Delete Andand introduce ForEach Jan 29, 2020
@paulodamaso
Copy link
Contributor

@rultor merge

@rultor
Copy link
Collaborator

rultor commented Jan 29, 2020

@rultor merge

@paulodamaso OK, I'll try to merge now. You can check the progress of the merge here

@rultor rultor merged commit 790f943 into yegor256:master Jan 29, 2020
@rultor
Copy link
Collaborator

rultor commented Jan 29, 2020

@rultor merge

@paulodamaso Done! FYI, the full log is here (took me 17min)

@0crat
Copy link
Collaborator

0crat commented Jan 29, 2020

@sereshqua/z please review this job completed by @fanifieiev/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed

@0crat
Copy link
Collaborator

0crat commented Jan 29, 2020

Code review was too long (20 days), architects (@paulodamaso) were penalized, see §55

@0crat 0crat removed the scope label Jan 29, 2020
@0crat
Copy link
Collaborator

0crat commented Jan 29, 2020

Payment to ARC for a closed pull request, as in §28: +10 point(s) just awarded to @paulodamaso/z

@sereshqua
Copy link

@0crat quality good

@0crat
Copy link
Collaborator

0crat commented Jan 29, 2020

Order was finished, quality is "good": +20 point(s) just awarded to @fanifieiev/z

@0crat
Copy link
Collaborator

0crat commented Jan 29, 2020

Quality review completed: +4 point(s) just awarded to @sereshqua/z

@paulodamaso
Copy link
Contributor

@rultor release tag is 0.44

@rultor
Copy link
Collaborator

rultor commented Jan 30, 2020

@rultor release tag is 0.44

@paulodamaso OK, I will release it now. Please check the progress here

@rultor
Copy link
Collaborator

rultor commented Jan 30, 2020

@rultor release tag is 0.44

@paulodamaso @ryoku Oops, I failed. You can see the full log here (spent 6min)

+ su --login r --command /home/r/script.sh
mesg: /dev/pts/0: Operation not permitted
+ set -e
+ set -o pipefail
+ shopt -s expand_aliases
+ alias 'sudo=sudo -i'
+ export HOME=/home/r
+ HOME=/home/r
+ cd /home/r/repo
+ export MAVEN_OPTS=-Xmx1g
+ MAVEN_OPTS=-Xmx1g
+ export JAVA_OPTS=-Xmx1g
+ JAVA_OPTS=-Xmx1g
+ export [email protected]:yegor256/cactoos.git
+ [email protected]:yegor256/cactoos.git
+ export tag=0.44
+ tag=0.44
+ export head_branch=master
+ head_branch=master
+ export author=paulodamaso
+ author=paulodamaso
+ sudo -i gem install --no-rdoc --no-ri pdd
Fetching: mini_portile2-2.4.0.gem
Fetching: mini_portile2-2.4.0.gem (  8%)
Fetching: mini_portile2-2.4.0.gem ( 19%)
Fetching: mini_portile2-2.4.0.gem ( 30%)
Fetching: mini_portile2-2.4.0.gem ( 40%)
Fetching: mini_portile2-2.4.0.gem ( 51%)
Fetching: mini_portile2-2.4.0.gem ( 61%)
Fetching: mini_portile2-2.4.0.gem ( 72%)
Fetching: mini_portile2-2.4.0.gem ( 83%)
Fetching: mini_portile2-2.4.0.gem ( 94%)
Fetching: mini_portile2-2.4.0.gem (100%)
Fetching: mini_portile2-2.4.0.gem (100%)
Successfully installed mini_portile2-2.4.0
Fetching: nokogiri-1.10.3.gem
Fetching: nokogiri-1.10.3.gem (  1%)
Fetching: nokogiri-1.10.3.gem (  2%)
Fetching: nokogiri-1.10.3.gem (  3%)
Fetching: nokogiri-1.10.3.gem (  4%)
Fetching: nokogiri-1.10.3.gem (  5%)
Fetching: nokogiri-1.10.3.gem (  6%)
Fetching: nokogiri-1.10.3.gem (  7%)
Fetching: nokogiri-1.10.3.gem (  8%)
Fetching: nokogiri-1.10.3.gem (  9%)
Fetching: nokogiri-1.10.3.gem ( 10%)
Fetching: nokogiri-1.10.3.gem ( 11%)
Fetching: nokogiri-1.10.3.gem ( 12%)
Fetching: nokogiri-1.10.3.gem ( 13%)
Fetching: nokogiri-1.10.3.gem ( 14%)
Fetching: nokogiri-1.10.3.gem ( 15%)
Fetching: nokogiri-1.10.3.gem ( 16%)
Fetching: nokogiri-1.10.3.gem ( 17%)
Fetching: nokogiri-1.10.3.gem ( 18%)
Fetching: nokogiri-1.10.3.gem ( 19%)
Fetching: nokogiri-1.10.3.gem ( 20%)
Fetching: nokogiri-1.10.3.gem ( 21%)
Fetching: nokogiri-1.10.3.gem ( 22%)
Fetching: nokogiri-1.10.3.gem ( 23%)
Fetching: nokogiri-1.10.3.gem ( 24%)
Fetching: nokogiri-1.10.3.gem ( 25%)
Fetching: nokogiri-1.10.3.gem ( 26%)
Fetching: nokogiri-1.10.3.gem ( 27%)
Fetching: nokogiri-1.10.3.gem ( 28%)
Fetching: nokogiri-1.10.3.gem ( 29%)
Fetching: nokogiri-1.10.3.gem ( 30%)
Fetching: nokogiri-1.10.3.gem ( 31%)
Fetching: nokogiri-1.10.3.gem ( 32%)
Fetching: nokogiri-1.10.3.gem ( 33%)
Fetching: nokogiri-1.10.3.gem ( 34%)
Fetching: nokogiri-1.10.3.gem ( 35%)
Fetching: nokogiri-1.10.3.gem ( 36%)
Fetching: nokogiri-1.10.3.gem ( 37%)
Fetching: nokogiri-1.10.3.gem ( 38%)
Fetching: nokogiri-1.10.3.gem ( 39%)
Fetching: nokogiri-1.10.3.gem ( 40%)
Fetching: nokogiri-1.10.3.gem ( 41%)
Fetching: nokogiri-1.10.3.gem ( 42%)
Fetching: nokogiri-1.10.3.gem ( 43%)
Fetching: nokogiri-1.10.3.gem ( 44%)
Fetching: nokogiri-1.10.3.gem ( 45%)
Fetching: nokogiri-1.10.3.gem ( 46%)
Fetching: nokogiri-1.10.3.gem ( 47%)
Fetching: nokogiri-1.10.3.gem ( 48%)
Fetching: nokogiri-1.10.3.gem ( 49%)
Fetching: nokogiri-1.10.3.gem ( 50%)
Fetching: nokogiri-1.10.3.gem ( 51%)
Fetching: nokogiri-1.10.3.gem ( 52%)
Fetching: nokogiri-1.10.3.gem ( 53%)
Fetching: nokogiri-1.10.3.gem ( 54%)
Fetching: nokogiri-1.10.3.gem ( 55%)
Fetching: nokogiri-1.10.3.gem ( 56%)
Fetching: nokogiri-1.10.3.gem ( 57%)
Fetching: nokogiri-1.10.3.gem ( 58%)
Fetching: nokogiri-1.10.3.gem ( 59%)
Fetching: nokogiri-1.10.3.gem ( 60%)
Fetching: nokogiri-1.10.3.gem ( 61%)
Fetching: nokogiri-1.10.3.gem ( 62%)
Fetching: nokogiri-1.10.3.gem ( 63%)
Fetching: nokogiri-1.10.3.gem ( 64%)
Fetching: nokogiri-1.10.3.gem ( 65%)
Fetching: nokogiri-1.10.3.gem ( 66%)
Fetching: nokogiri-1.10.3.gem ( 67%)
Fetching: nokogiri-1.10.3.gem ( 68%)
Fetching: nokogiri-1.10.3.gem ( 69%)
Fetching: nokogiri-1.10.3.gem ( 70%)
Fetching: nokogiri-1.10.3.gem ( 71%)
Fetching: nokogiri-1.10.3.gem ( 72%)
Fetching: nokogiri-1.10.3.gem ( 73%)
Fetching: nokogiri-1.10.3.gem ( 74%)
Fetching: nokogiri-1.10.3.gem ( 75%)
Fetching: nokogiri-1.10.3.gem ( 76%)
Fetching: nokogiri-1.10.3.gem ( 77%)
Fetching: nokogiri-1.10.3.gem ( 78%)
Fetching: nokogiri-1.10.3.gem ( 79%)
Fetching: nokogiri-1.10.3.gem ( 80%)
Fetching: nokogiri-1.10.3.gem ( 81%)
Fetching: nokogiri-1.10.3.gem ( 82%)
Fetching: nokogiri-1.10.3.gem ( 83%)
Fetching: nokogiri-1.10.3.gem ( 84%)
Fetching: nokogiri-1.10.3.gem ( 85%)
Fetching: nokogiri-1.10.3.gem ( 86%)
Fetching: nokogiri-1.10.3.gem ( 87%)
Fetching: nokogiri-1.10.3.gem ( 88%)
Fetching: nokogiri-1.10.3.gem ( 89%)
Fetching: nokogiri-1.10.3.gem ( 90%)
Fetching: nokogiri-1.10.3.gem ( 91%)
Fetching: nokogiri-1.10.3.gem ( 92%)
Fetching: nokogiri-1.10.3.gem ( 93%)
Fetching: nokogiri-1.10.3.gem ( 94%)
Fetching: nokogiri-1.10.3.gem ( 95%)
Fetching: nokogiri-1.10.3.gem ( 96%)
Fetching: nokogiri-1.10.3.gem ( 97%)
Fetching: nokogiri-1.10.3.gem ( 98%)
Fetching: nokogiri-1.10.3.gem ( 99%)
Fetching: nokogiri-1.10.3.gem (100%)
Fetching: nokogiri-1.10.3.gem (100%)
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.10.3
Fetching: rainbow-3.0.0.gem
Fetching: rainbow-3.0.0.gem ( 11%)
Fetching: rainbow-3.0.0.gem ( 25%)
Fetching: rainbow-3.0.0.gem ( 40%)
Fetching: rainbow-3.0.0.gem ( 54%)
Fetching: rainbow-3.0.0.gem ( 69%)
Fetching: rainbow-3.0.0.gem ( 83%)
Fetching: rainbow-3.0.0.gem ( 97%)
Fetching: rainbow-3.0.0.gem (100%)
Fetching: rainbow-3.0.0.gem (100%)
Successfully installed rainbow-3.0.0
Fetching: slop-4.6.1.gem
Fetching: slop-4.6.1.gem ( 10%)
Fetching: slop-4.6.1.gem ( 24%)
Fetching: slop-4.6.1.gem ( 38%)
Fetching: slop-4.6.1.gem ( 52%)
Fetching: slop-4.6.1.gem ( 66%)
Fetching: slop-4.6.1.gem ( 78%)
Fetching: slop-4.6.1.gem ( 92%)
Fetching: slop-4.6.1.gem (100%)
Fetching: slop-4.6.1.gem (100%)
Successfully installed slop-4.6.1
Fetching: pdd-0.20.5.gem
Fetching: pdd-0.20.5.gem (  1%)
Fetching: pdd-0.20.5.gem (  2%)
Fetching: pdd-0.20.5.gem (  3%)
Fetching: pdd-0.20.5.gem (  4%)
Fetching: pdd-0.20.5.gem (  5%)
Fetching: pdd-0.20.5.gem (  6%)
Fetching: pdd-0.20.5.gem (  7%)
Fetching: pdd-0.20.5.gem (  8%)
Fetching: pdd-0.20.5.gem (  9%)
Fetching: pdd-0.20.5.gem ( 10%)
Fetching: pdd-0.20.5.gem ( 15%)
Fetching: pdd-0.20.5.gem ( 20%)
Fetching: pdd-0.20.5.gem ( 25%)
Fetching: pdd-0.20.5.gem ( 30%)
Fetching: pdd-0.20.5.gem ( 35%)
Fetching: pdd-0.20.5.gem ( 40%)
Fetching: pdd-0.20.5.gem ( 44%)
Fetching: pdd-0.20.5.gem ( 49%)
Fetching: pdd-0.20.5.gem ( 54%)
Fetching: pdd-0.20.5.gem ( 59%)
Fetching: pdd-0.20.5.gem ( 64%)
Fetching: pdd-0.20.5.gem ( 69%)
Fetching: pdd-0.20.5.gem ( 74%)
Fetching: pdd-0.20.5.gem ( 79%)
Fetching: pdd-0.20.5.gem ( 84%)
Fetching: pdd-0.20.5.gem ( 89%)
Fetching: pdd-0.20.5.gem ( 94%)
Fetching: pdd-0.20.5.gem ( 99%)
Fetching: pdd-0.20.5.gem (100%)
Fetching: pdd-0.20.5.gem (100%)
Successfully installed pdd-0.20.5
5 gems installed
+ sudo -i gem install --no-rdoc --no-ri xcop
Fetching: differ-0.1.2.gem
Fetching: differ-0.1.2.gem ( 18%)
Fetching: differ-0.1.2.gem ( 43%)
Fetching: differ-0.1.2.gem ( 67%)
Fetching: differ-0.1.2.gem ( 92%)
Fetching: differ-0.1.2.gem (100%)
Fetching: differ-0.1.2.gem (100%)
Successfully installed differ-0.1.2
Fetching: xcop-0.6.gem
Fetching: xcop-0.6.gem ( 14%)
Fetching: xcop-0.6.gem ( 33%)
Fetching: xcop-0.6.gem ( 53%)
Fetching: xcop-0.6.gem ( 72%)
Fetching: xcop-0.6.gem ( 91%)
Fetching: xcop-0.6.gem (100%)
Fetching: xcop-0.6.gem (100%)
Successfully installed xcop-0.6
2 gems installed
+ [[ 0.44 =~ ^[0-9]+(\.[0-9]+)*$ ]]
+ mvn versions:set -DnewVersion=0.44
[INFO] Scanning for projects...
Downloading: http://repo.maven.apache.org/maven2/com/jcabi/parent/0.49.4/parent-0.49.4.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.cactoos:cactoos:1.0-SNAPSHOT: Could not transfer artifact com.jcabi:parent:pom:0.49.4 from/to Maven (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/com/jcabi/parent/0.49.4/parent-0.49.4.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. and 'parent.relativePath' points at wrong local POM @ line 27, column 11
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.cactoos:cactoos:1.0-SNAPSHOT (/home/r/repo/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.cactoos:cactoos:1.0-SNAPSHOT: Could not transfer artifact com.jcabi:parent:pom:0.49.4 from/to Maven (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/com/jcabi/parent/0.49.4/parent-0.49.4.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. and 'parent.relativePath' points at wrong local POM @ line 27, column 11 -> [Help 2]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
container 475e86c675d0fac466289d25379a770fec13d1908f4629f8d69d1b671e410b13 is dead
Thu Jan 30 04:47:49 CET 2020

@paulodamaso
Copy link
Contributor

@rultor release tag is 0.44

@rultor
Copy link
Collaborator

rultor commented Jan 30, 2020

@rultor release tag is 0.44

@paulodamaso OK, I will release it now. Please check the progress here

@rultor
Copy link
Collaborator

rultor commented Jan 30, 2020

@rultor release tag is 0.44

@paulodamaso @ryoku Oops, I failed. You can see the full log here (spent 6min)

+ su --login r --command /home/r/script.sh
mesg: /dev/pts/0: Operation not permitted
+ set -e
+ set -o pipefail
+ shopt -s expand_aliases
+ alias 'sudo=sudo -i'
+ export HOME=/home/r
+ HOME=/home/r
+ cd /home/r/repo
+ export MAVEN_OPTS=-Xmx1g
+ MAVEN_OPTS=-Xmx1g
+ export JAVA_OPTS=-Xmx1g
+ JAVA_OPTS=-Xmx1g
+ export [email protected]:yegor256/cactoos.git
+ [email protected]:yegor256/cactoos.git
+ export tag=0.44
+ tag=0.44
+ export head_branch=master
+ head_branch=master
+ export author=paulodamaso
+ author=paulodamaso
+ sudo -i gem install --no-rdoc --no-ri pdd
Fetching: mini_portile2-2.4.0.gem
Fetching: mini_portile2-2.4.0.gem (  8%)
Fetching: mini_portile2-2.4.0.gem ( 19%)
Fetching: mini_portile2-2.4.0.gem ( 30%)
Fetching: mini_portile2-2.4.0.gem ( 40%)
Fetching: mini_portile2-2.4.0.gem ( 51%)
Fetching: mini_portile2-2.4.0.gem ( 61%)
Fetching: mini_portile2-2.4.0.gem ( 72%)
Fetching: mini_portile2-2.4.0.gem ( 83%)
Fetching: mini_portile2-2.4.0.gem ( 94%)
Fetching: mini_portile2-2.4.0.gem (100%)
Fetching: mini_portile2-2.4.0.gem (100%)
Successfully installed mini_portile2-2.4.0
Fetching: nokogiri-1.10.3.gem
Fetching: nokogiri-1.10.3.gem (  1%)
Fetching: nokogiri-1.10.3.gem (  2%)
Fetching: nokogiri-1.10.3.gem (  3%)
Fetching: nokogiri-1.10.3.gem (  4%)
Fetching: nokogiri-1.10.3.gem (  5%)
Fetching: nokogiri-1.10.3.gem (  6%)
Fetching: nokogiri-1.10.3.gem (  7%)
Fetching: nokogiri-1.10.3.gem (  8%)
Fetching: nokogiri-1.10.3.gem (  9%)
Fetching: nokogiri-1.10.3.gem ( 10%)
Fetching: nokogiri-1.10.3.gem ( 11%)
Fetching: nokogiri-1.10.3.gem ( 12%)
Fetching: nokogiri-1.10.3.gem ( 13%)
Fetching: nokogiri-1.10.3.gem ( 14%)
Fetching: nokogiri-1.10.3.gem ( 15%)
Fetching: nokogiri-1.10.3.gem ( 16%)
Fetching: nokogiri-1.10.3.gem ( 17%)
Fetching: nokogiri-1.10.3.gem ( 18%)
Fetching: nokogiri-1.10.3.gem ( 19%)
Fetching: nokogiri-1.10.3.gem ( 20%)
Fetching: nokogiri-1.10.3.gem ( 21%)
Fetching: nokogiri-1.10.3.gem ( 22%)
Fetching: nokogiri-1.10.3.gem ( 23%)
Fetching: nokogiri-1.10.3.gem ( 24%)
Fetching: nokogiri-1.10.3.gem ( 25%)
Fetching: nokogiri-1.10.3.gem ( 26%)
Fetching: nokogiri-1.10.3.gem ( 27%)
Fetching: nokogiri-1.10.3.gem ( 28%)
Fetching: nokogiri-1.10.3.gem ( 29%)
Fetching: nokogiri-1.10.3.gem ( 30%)
Fetching: nokogiri-1.10.3.gem ( 31%)
Fetching: nokogiri-1.10.3.gem ( 32%)
Fetching: nokogiri-1.10.3.gem ( 33%)
Fetching: nokogiri-1.10.3.gem ( 34%)
Fetching: nokogiri-1.10.3.gem ( 35%)
Fetching: nokogiri-1.10.3.gem ( 36%)
Fetching: nokogiri-1.10.3.gem ( 37%)
Fetching: nokogiri-1.10.3.gem ( 38%)
Fetching: nokogiri-1.10.3.gem ( 39%)
Fetching: nokogiri-1.10.3.gem ( 40%)
Fetching: nokogiri-1.10.3.gem ( 41%)
Fetching: nokogiri-1.10.3.gem ( 42%)
Fetching: nokogiri-1.10.3.gem ( 43%)
Fetching: nokogiri-1.10.3.gem ( 44%)
Fetching: nokogiri-1.10.3.gem ( 45%)
Fetching: nokogiri-1.10.3.gem ( 46%)
Fetching: nokogiri-1.10.3.gem ( 47%)
Fetching: nokogiri-1.10.3.gem ( 48%)
Fetching: nokogiri-1.10.3.gem ( 49%)
Fetching: nokogiri-1.10.3.gem ( 50%)
Fetching: nokogiri-1.10.3.gem ( 51%)
Fetching: nokogiri-1.10.3.gem ( 52%)
Fetching: nokogiri-1.10.3.gem ( 53%)
Fetching: nokogiri-1.10.3.gem ( 54%)
Fetching: nokogiri-1.10.3.gem ( 55%)
Fetching: nokogiri-1.10.3.gem ( 56%)
Fetching: nokogiri-1.10.3.gem ( 57%)
Fetching: nokogiri-1.10.3.gem ( 58%)
Fetching: nokogiri-1.10.3.gem ( 59%)
Fetching: nokogiri-1.10.3.gem ( 60%)
Fetching: nokogiri-1.10.3.gem ( 61%)
Fetching: nokogiri-1.10.3.gem ( 62%)
Fetching: nokogiri-1.10.3.gem ( 63%)
Fetching: nokogiri-1.10.3.gem ( 64%)
Fetching: nokogiri-1.10.3.gem ( 65%)
Fetching: nokogiri-1.10.3.gem ( 66%)
Fetching: nokogiri-1.10.3.gem ( 67%)
Fetching: nokogiri-1.10.3.gem ( 68%)
Fetching: nokogiri-1.10.3.gem ( 69%)
Fetching: nokogiri-1.10.3.gem ( 70%)
Fetching: nokogiri-1.10.3.gem ( 71%)
Fetching: nokogiri-1.10.3.gem ( 72%)
Fetching: nokogiri-1.10.3.gem ( 73%)
Fetching: nokogiri-1.10.3.gem ( 74%)
Fetching: nokogiri-1.10.3.gem ( 75%)
Fetching: nokogiri-1.10.3.gem ( 76%)
Fetching: nokogiri-1.10.3.gem ( 77%)
Fetching: nokogiri-1.10.3.gem ( 78%)
Fetching: nokogiri-1.10.3.gem ( 79%)
Fetching: nokogiri-1.10.3.gem ( 80%)
Fetching: nokogiri-1.10.3.gem ( 81%)
Fetching: nokogiri-1.10.3.gem ( 82%)
Fetching: nokogiri-1.10.3.gem ( 83%)
Fetching: nokogiri-1.10.3.gem ( 84%)
Fetching: nokogiri-1.10.3.gem ( 85%)
Fetching: nokogiri-1.10.3.gem ( 86%)
Fetching: nokogiri-1.10.3.gem ( 87%)
Fetching: nokogiri-1.10.3.gem ( 88%)
Fetching: nokogiri-1.10.3.gem ( 89%)
Fetching: nokogiri-1.10.3.gem ( 90%)
Fetching: nokogiri-1.10.3.gem ( 91%)
Fetching: nokogiri-1.10.3.gem ( 92%)
Fetching: nokogiri-1.10.3.gem ( 93%)
Fetching: nokogiri-1.10.3.gem ( 94%)
Fetching: nokogiri-1.10.3.gem ( 95%)
Fetching: nokogiri-1.10.3.gem ( 96%)
Fetching: nokogiri-1.10.3.gem ( 97%)
Fetching: nokogiri-1.10.3.gem ( 98%)
Fetching: nokogiri-1.10.3.gem ( 99%)
Fetching: nokogiri-1.10.3.gem (100%)
Fetching: nokogiri-1.10.3.gem (100%)
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.10.3
Fetching: rainbow-3.0.0.gem
Fetching: rainbow-3.0.0.gem ( 11%)
Fetching: rainbow-3.0.0.gem ( 25%)
Fetching: rainbow-3.0.0.gem ( 40%)
Fetching: rainbow-3.0.0.gem ( 54%)
Fetching: rainbow-3.0.0.gem ( 69%)
Fetching: rainbow-3.0.0.gem ( 83%)
Fetching: rainbow-3.0.0.gem ( 97%)
Fetching: rainbow-3.0.0.gem (100%)
Fetching: rainbow-3.0.0.gem (100%)
Successfully installed rainbow-3.0.0
Fetching: slop-4.6.1.gem
Fetching: slop-4.6.1.gem ( 10%)
Fetching: slop-4.6.1.gem ( 24%)
Fetching: slop-4.6.1.gem ( 38%)
Fetching: slop-4.6.1.gem ( 52%)
Fetching: slop-4.6.1.gem ( 66%)
Fetching: slop-4.6.1.gem ( 78%)
Fetching: slop-4.6.1.gem ( 92%)
Fetching: slop-4.6.1.gem (100%)
Fetching: slop-4.6.1.gem (100%)
Successfully installed slop-4.6.1
Fetching: pdd-0.20.5.gem
Fetching: pdd-0.20.5.gem (  1%)
Fetching: pdd-0.20.5.gem (  2%)
Fetching: pdd-0.20.5.gem (  3%)
Fetching: pdd-0.20.5.gem (  4%)
Fetching: pdd-0.20.5.gem (  5%)
Fetching: pdd-0.20.5.gem (  6%)
Fetching: pdd-0.20.5.gem (  7%)
Fetching: pdd-0.20.5.gem (  8%)
Fetching: pdd-0.20.5.gem (  9%)
Fetching: pdd-0.20.5.gem ( 10%)
Fetching: pdd-0.20.5.gem ( 15%)
Fetching: pdd-0.20.5.gem ( 20%)
Fetching: pdd-0.20.5.gem ( 25%)
Fetching: pdd-0.20.5.gem ( 30%)
Fetching: pdd-0.20.5.gem ( 35%)
Fetching: pdd-0.20.5.gem ( 40%)
Fetching: pdd-0.20.5.gem ( 44%)
Fetching: pdd-0.20.5.gem ( 49%)
Fetching: pdd-0.20.5.gem ( 54%)
Fetching: pdd-0.20.5.gem ( 59%)
Fetching: pdd-0.20.5.gem ( 64%)
Fetching: pdd-0.20.5.gem ( 69%)
Fetching: pdd-0.20.5.gem ( 74%)
Fetching: pdd-0.20.5.gem ( 79%)
Fetching: pdd-0.20.5.gem ( 84%)
Fetching: pdd-0.20.5.gem ( 89%)
Fetching: pdd-0.20.5.gem ( 94%)
Fetching: pdd-0.20.5.gem ( 99%)
Fetching: pdd-0.20.5.gem (100%)
Fetching: pdd-0.20.5.gem (100%)
Successfully installed pdd-0.20.5
5 gems installed
+ sudo -i gem install --no-rdoc --no-ri xcop
Fetching: differ-0.1.2.gem
Fetching: differ-0.1.2.gem ( 18%)
Fetching: differ-0.1.2.gem ( 43%)
Fetching: differ-0.1.2.gem ( 67%)
Fetching: differ-0.1.2.gem ( 92%)
Fetching: differ-0.1.2.gem (100%)
Fetching: differ-0.1.2.gem (100%)
Successfully installed differ-0.1.2
Fetching: xcop-0.6.gem
Fetching: xcop-0.6.gem ( 14%)
Fetching: xcop-0.6.gem ( 33%)
Fetching: xcop-0.6.gem ( 53%)
Fetching: xcop-0.6.gem ( 72%)
Fetching: xcop-0.6.gem ( 91%)
Fetching: xcop-0.6.gem (100%)
Fetching: xcop-0.6.gem (100%)
Successfully installed xcop-0.6
2 gems installed
+ [[ 0.44 =~ ^[0-9]+(\.[0-9]+)*$ ]]
+ mvn versions:set -DnewVersion=0.44
[INFO] Scanning for projects...
Downloading: http://repo.maven.apache.org/maven2/com/jcabi/parent/0.49.4/parent-0.49.4.pom

[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.cactoos:cactoos:1.0-SNAPSHOT: Could not transfer artifact com.jcabi:parent:pom:0.49.4 from/to Maven (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/com/jcabi/parent/0.49.4/parent-0.49.4.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. and 'parent.relativePath' points at wrong local POM @ line 27, column 11
 @ 
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.cactoos:cactoos:1.0-SNAPSHOT (/home/r/repo/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.cactoos:cactoos:1.0-SNAPSHOT: Could not transfer artifact com.jcabi:parent:pom:0.49.4 from/to Maven (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/com/jcabi/parent/0.49.4/parent-0.49.4.pom. Return code is: 501 , ReasonPhrase:HTTPS Required. and 'parent.relativePath' points at wrong local POM @ line 27, column 11 -> [Help 2]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
container da3c06b1e59b68b0354a0bd8afe84922366f0abcc33115aea40777f734cec295 is dead
Thu Jan 30 15:05:10 CET 2020

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.

7 participants