Bug 1266804

Summary: Review Request: springframework-integration - Extends the Spring Enterprise Integration Patterns Support
Product: [Fedora] Fedora Reporter: gil cattaneo <puntogil>
Component: Package ReviewAssignee: Paulo Andrade <paulo.cesar.pereira.de.andrade>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: package-review, paulo.cesar.pereira.de.andrade
Target Milestone: ---Flags: paulo.cesar.pereira.de.andrade: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-02 21:50:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1266806    
Bug Blocks: 968136    

Description gil cattaneo 2015-09-28 01:43:06 UTC
Spec URL: https://gil.fedorapeople.org/springframework-integration.spec
SRPM URL: https://gil.fedorapeople.org/springframework-integration-3.0.7-1.fc22.src.rpm
Description:
Extends the Spring programming model to support the
well-known Enterprise Integration Patterns. Spring
Integration enables lightweight messaging within
Spring-based applications and supports integration
with external systems via declarative adapters.
Those adapters provide a higher-level of abstraction
over Spring's support for remoting, messaging, and
scheduling. Spring Integration's primary goal is to
provide a simple model for building enterprise
integration solutions while maintaining the separation
of concerns that is essential for producing maintainable,
testable code.

Fedora Account System Username: gil

Comment 1 Upstream Release Monitoring 2015-11-12 04:05:33 UTC
gil's scratch build of springframework-integration-3.0.7-1.fc23.src.rpm for rawhide completed http://koji.fedoraproject.org/koji/taskinfo?taskID=11799497

Comment 2 PeteV 2015-11-15 21:33:00 UTC
change : %prep
         %setup -q -n %{oname}-%{namedversion} -a1

to:      %prep
         %setup -q -n %{name}-%{namedversion} -a1

Comment 3 PeteV 2015-11-15 21:35:56 UTC
(In reply to PeteV from comment #2)
> change : %prep
>          %setup -q -n %{oname}-%{namedversion} -a1

never mind I see you have that as a global,excuse

Comment 5 Paulo Andrade 2015-11-23 15:50:20 UTC
I will review this package in exchange for review of
https://bugzilla.redhat.com/show_bug.cgi?id=1278081

Comment 6 Paulo Andrade 2015-11-23 17:30:09 UTC
Hi Gil.
Only cut&paste of fedora-review from points I would like
some feedback.

[!]: Latest version is packaged.
Upstream says latest stable version is 4.2.2. But I see in spec
the comment
# Newer release require springframework >= 4.1.7.RELEASE

[!]: %check is present and all tests pass.
I will trust you it is working correctly, from the build log:
$ grep "^Tests run: .* Time elapsed.*" /home/pcpa/1266804-springframework-integration/results/build.log
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.206 sec - in org.springframework.integration.router.RouterConcurrencyTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.948 sec - in org.springframework.integration.twitter.config.TestSendingMessageHandlerParserTests
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in org.springframework.integration.twitter.config.TestSearchReceivingMessageSourceParserTests
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.292 sec - in org.springframework.integration.twitter.config.TestReceivingMessageSourceParserTests
Tests run: 2, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.002 sec - in org.springframework.integration.twitter.ignored.TestSendingDMsUsingNamespace
Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in org.springframework.integration.twitter.ignored.TestReceivingUsingNamespace
Tests run: 2, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.001 sec - in org.springframework.integration.twitter.ignored.TestSendingUpdatesUsingNamespace

[!]: Packages should try to preserve timestamps of original installed
     files.
It is common practive to keep timestamp when converting from
dos to unix line ending. For example:
sed -i 's/\r//' src/dist/*.txt
Should be something like:
for file in src/dist/*.txt; do
    sed -i.orig 's|\r||g' $file
    touch -r $file.orig $file
    rm $file.orig
done

It took me two tries to understand I should run:
$ tar zxf v3.0.7.RELEASE.gz
$ sh spring-integration-get-poms.sh 3.0.7.RELEASE
to regenerate the poms tarball
First I tried using %version :)

I consider the package approved. I leave it for you to decide
about using the commands to preserve timestamp, because it
is indeed changing the file, so, I am fine with either.
Just that some reviewers prefer it corrected and some
do not care :)

Comment 7 gil cattaneo 2015-11-23 23:54:37 UTC
(In reply to Paulo Andrade from comment #6)
> Hi Gil.

Hi Paulo,

> Only cut&paste of fedora-review from points I would like
> some feedback.
> 
> [!]: Latest version is packaged.
> Upstream says latest stable version is 4.2.2. But I see in spec
> the comment
> # Newer release require springframework >= 4.1.7.RELEASE

Compatibility problems ... for now we can use this release

> [!]: %check is present and all tests pass.
> I will trust you it is working correctly, from the build log:
> $ grep "^Tests run: .* Time elapsed.*"
> /home/pcpa/1266804-springframework-integration/results/build.log
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.206 sec -
> in org.springframework.integration.router.RouterConcurrencyTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.948 sec -
> in
> org.springframework.integration.twitter.config.
> TestSendingMessageHandlerParserTests
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in
> org.springframework.integration.twitter.config.
> TestSearchReceivingMessageSourceParserTests
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.292 sec -
> in
> org.springframework.integration.twitter.config.
> TestReceivingMessageSourceParserTests
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.002 sec -
> in
> org.springframework.integration.twitter.ignored.TestSendingDMsUsingNamespace
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0 sec - in
> org.springframework.integration.twitter.ignored.TestReceivingUsingNamespace
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.001 sec -
> in
> org.springframework.integration.twitter.ignored.
> TestSendingUpdatesUsingNamespace

Seem this tests try to use some unsupported features in our koji build system
e.g. (web) connection

> [!]: Packages should try to preserve timestamps of original installed
>      files.
> It is common practive to keep timestamp when converting from
> dos to unix line ending. For example:
> sed -i 's/\r//' src/dist/*.txt
> Should be something like:
> for file in src/dist/*.txt; do
>     sed -i.orig 's|\r||g' $file
>     touch -r $file.orig $file
>     rm $file.orig
> done

Done

> It took me two tries to understand I should run:
> $ tar zxf v3.0.7.RELEASE.gz
> $ sh spring-integration-get-poms.sh 3.0.7.RELEASE
> to regenerate the poms tarball
> First I tried using %version :)

Fix comment about poms archive

> I consider the package approved. I leave it for you to decide
> about using the commands to preserve timestamp, because it
> is indeed changing the file, so, I am fine with either.
> Just that some reviewers prefer it corrected and some
> do not care :)

Spec URL: https://gil.fedorapeople.org/springframework-integration.spec
SRPM URL: https://gil.fedorapeople.org/springframework-integration-3.0.7-1.fc23.src.rpm

Thanks for your quick review

Comment 9 Gwyn Ciesla 2015-11-24 01:13:17 UTC
Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/springframework-integration

Comment 10 Fedora Update System 2015-11-24 05:59:53 UTC
springframework-integration-3.0.7-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-4358760719

Comment 11 Fedora Update System 2015-11-25 02:54:33 UTC
springframework-integration-3.0.7-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update springframework-integration'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-4358760719

Comment 12 Fedora Update System 2015-12-02 21:50:39 UTC
springframework-integration-3.0.7-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.