Bug 1004478 - stgit package should require git-email
Summary: stgit package should require git-email
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: stgit
Version: 19
Hardware: All
OS: All
unspecified
medium
Target Milestone: ---
Assignee: Peter Schiffer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-04 17:49 UTC by Chuck Lever
Modified: 2013-11-10 06:16 UTC (History)
2 users (show)

Fixed In Version: stgit-0.17-4.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-10-27 03:53:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Chuck Lever 2013-09-04 17:49:30 UTC
Description of problem:
After installing the stgit package with "yum install stgit", the "stg mail" command has only limited functionality.  It ignores the sendemail.smtp* settings and always attempts to deliver mail through the local host.

Local host delivery typically succeeds without error, but the mail items are then parked in the local system's mail queue forever if the local host is not configured to deliver mail.  No error message or bounce occurs.

Specifying --smtp-foo= on the "stg mail" command line seems to have the desired effects, but .git config file settings are ignored.

After installing the git-email package, full patch e-mail capabilities are available without requiring local mailer configuration, and configuration settings in ~/.gitconfig are respected.


Version-Release number of selected component (if applicable):
stgit-0.16-3.fc19.noarch
git-email-1.8.3.1-1.fc19.noarch

How reproducible:
100%.

Steps to Reproduce:
1. On a minimal install, "yum install stgit"
2. Set up sendemail.smtp* settings in ~/.gitconfig
3. Attempt to send patches with "stg mail --to=.... patch1 patch2"

Actual results:
The patches appear to be sent, but never arrive at the recipient.  Changing the sendemail.smtp* settings has no effect, but specifying --smtp-* command line options works.

Expected results:
Either the patches should be sent, or an error should be reported.  "stg mail" should use the sendmail.* settings specified in ~/.gitconfig or the local repository's .git/config file.

Additional info:
Adding a "Requires: git-email" in the stgit.spec file should address this.

Comment 1 Fedora Update System 2013-10-17 19:22:54 UTC
stgit-0.17-4.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/stgit-0.17-4.fc20

Comment 2 Peter Schiffer 2013-10-17 19:23:54 UTC
fixed in rawhide:
stgit-0.17.1-1.fc21
http://koji.fedoraproject.org/koji/buildinfo?buildID=472088

Comment 3 Fedora Update System 2013-10-17 19:39:00 UTC
stgit-0.16-4.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/stgit-0.16-4.fc19

Comment 4 Fedora Update System 2013-10-18 20:01:26 UTC
Package stgit-0.16-4.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing stgit-0.16-4.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-19363/stgit-0.16-4.fc19
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-10-27 03:53:52 UTC
stgit-0.16-4.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-10-27 05:34:13 UTC
stgit-0.16-4.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2013-11-10 06:16:42 UTC
stgit-0.17-4.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.