RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 612555 - Port git-gui to hunspell
Summary: Port git-gui to hunspell
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: git
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Petr Stodulka
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 645519 802730 840699
TreeView+ depends on / blocked
 
Reported: 2010-07-08 14:11 UTC by Marc Milgram
Modified: 2015-03-03 13:51 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 802730 (view as bug list)
Environment:
Last Closed: 2015-03-03 13:51:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
concept patch (3.71 KB, patch)
2011-07-29 13:48 UTC, ritz
no flags Details | Diff

Description Marc Milgram 2010-07-08 14:11:21 UTC
Description of problem:
git-gui complains:
  Spell checking is unavailable:

  No word lists can be found for the language "en_us".

Version-Release number of selected component (if applicable):
git-gui-1.7.1-1.el6.noarch


How reproducible:
100%

Steps to Reproduce:
1.run: git gui
  
Actual results:
At startup, git-gui complains that spell checking is unavailable.

Expected results:
No complaints, and spell checking works.

Additional info:
$ echo $LANG 
en_US.UTF-8

Comment 1 Bill Nottingham 2010-07-08 15:51:19 UTC
Changing summary to reflect what needs done.

Comment 2 Michael Cronenworth 2010-08-23 13:42:43 UTC
All you need to do is make sure "aspell" and "aspell-en" are installed. Spell checking will work fine without needing to port to hunspell or do anything else that drastic.

Comment 3 Bill Nottingham 2010-08-23 15:47:56 UTC
The point is, if the rest of the system is using hunspell, there's no point to shipping a separate spellchecking system just for git.

Comment 4 Adam Tkac 2010-08-24 08:04:26 UTC
(In reply to comment #3)
> The point is, if the rest of the system is using hunspell, there's no point to
> shipping a separate spellchecking system just for git.

Exactly. And another issue is that "aspell-en" package is not part of RHEL6.

Comment 5 Michael Cronenworth 2010-08-24 20:45:04 UTC
Sorry for the intrusion. I was looking at my RHEL5 system at the time, which still has aspell/aspell-en.

Comment 8 Suzanne Logcher 2011-02-15 21:39:48 UTC
This issue was proposed for RHEL 6.1 FasTrack but did not get resolved in time.
It has been moved to RHEL 6.2 FasTrack.

Comment 10 Suzanne Logcher 2011-02-15 22:03:21 UTC
This issue was proposed for RHEL 6.1 FasTrack but did not get resolved in time.
It has been moved to RHEL 6.2 FasTrack.

Comment 14 Adam Tkac 2011-07-28 13:49:13 UTC
After further inspection porting git-gui to hunspell is not possible because hunspell doesn't support some functions which are provided by aspell, notably listing of available dictionaries in scripting-friendly manner. Without this function git-gui GUI will be broken.

In my opinion optimal solution is to install proper aspell-* dictionary from EPEL. Another "solution" is to remove aspell package and git-gui won't complain that spell checker is missing.

Closing as wontfix.

Comment 20 ritz 2011-07-29 13:48:23 UTC
Created attachment 515888 [details]
concept patch

This looks like a hack to me, but allows git-gui to use hunspell. Works fine for me. The only caveat, the default lang is not set due to hunspell missing "$$cr master" option, but instead is picked by hunspell from env. This may break your system or life.

Comment 21 Adam Tkac 2011-08-02 11:37:32 UTC
(In reply to comment #20)
> Created attachment 515888 [details]
> concept patch
> 
> This looks like a hack to me, but allows git-gui to use hunspell. Works fine
> for me. The only caveat, the default lang is not set due to hunspell missing
> "$$cr master" option, but instead is picked by hunspell from env. This may
> break your system or life.

This seems like a good starting point for me, thanks for the patch. I will polish it a little and send it to upstream.

Comment 28 RHEL Program Management 2013-10-14 01:18:59 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.

Comment 29 Petr Stodulka 2015-03-03 13:51:43 UTC
Feel free to reopen when we get enough of a justification for this.


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