I attached a patch to bug 304005 which implements SMTP authentication
support for Bugzilla:
https://bugzilla.mozilla.org/show_bug.cgi?id=304005
As I don't use SMTP auth myself, I have no way to test it. If that's a
feature you expected for a long time, I suggest you test my patch and
give me your feedback in the bug itself.
To have it work, apply the patch (-p0) to a recent development snapshot
(e.g. Bugzilla 3.1.3 or better. The patch won't work on Bugzilla 3.0.x
as is; you will have to backport it), run checksetup.pl and go to the
"Email" panel in the "Parameters" page. You will see two new fields for
the username and password required by the SMTP server.
LpSolit
-
To view or change your list settings, click here:
<http://bugzilla.org/cgi-bin/mj_wwwusr?user=dev-apps...@lists.mozilla.org>
Did you manage to apply the patch following vladd's instructions?
Did you download and install patch.exe first?
http://gnuwin32.sourceforge.net/packages/patch.htm
You can install it in WINNT or WINNT/system32 or whatever the name on XP is.
LpSolit
If you're on a Windows platform and don't have access to the "patch"
executable, you can get it from here:
http://gnuwin32.sourceforge.net/
( http://getgnuwin32.sourceforge.net/ )
On Wed, Mar 12, 2008 at 1:59 AM, newbug <shab...@hotmail.com> wrote:
>
> I have downloaded the patch file. i.e. bug1289-cvs.diff, on widowsXP. but
> when I give the command in Bugzilla directory
>
> patch -p0 < bug1289-cvs.diff
>
> I get the following message
>
> 'patch' is not recognized as an internal or external command, operable
> program or batch file.
>
> moreover, I could not find "patch" file or utility in Bugzilla directory.
>
> Plz guide me to resolve this issue. Im using WindowsXP professional.
>
>
>
> --
> View this message in context:
> http://www.nabble.com/SMTP-authentication-for-Bugzilla-tp15969908p16000143.html
> Sent from the Bugzilla - Dev mailing list archive at Nabble.com.
>
> -
> To view or change your list settings, click here:
> <http://bugzilla.org/cgi-bin/mj_wwwusr?user=guy.p...@gmail.com>
>
LpSolit
-
To view or change your list settings, click here:
<http://bugzilla.org/cgi-bin/mj_wwwusr?user=dev-apps...@lists.mozilla.org>
On Fri, Mar 14, 2008 at 9:14 AM, Frédéric Buclin <lps...@gmail.com> wrote:
> Just so that you know, I checked in the "SMTP authentication support"
> patch a few minutes ago, and so Bugzilla will support it in its coming
> 3.1.4 release (a development snapshot, not ready yet for production).
> There is no plan to backport it on 3.0.x as it's an enhancement, not a
> bugfix.
sorry for my too late responce.. :p
# as asked on irc.
so, it's ok to knock or postpone my test?
regards,,
--
Atsushi Shimono - shi...@mozilla.gr.jp
http://www.mozilla.gr.jp/~shimono/blog/
The problem is that my patch has the LF line endings used on *nix while
patch.exe on Windows needs to have a patch using CRLF as line endings,
else it's unable to read the patch correctly (it sees everything as a
single line, AFAIK). So either convert my patch to DOS format (i.e. with
CRLF line endings) or upgrade your installation using CVS to get the
SMTP auth support.
If you don't know how to do this, I can send you an unofficial
bugzilla-CVS.tar.bz2 tarball per email (940 Kb), for testing.
LpSolit
Or use the --binary switch to the Windows "patch" command,
which will make it work with LF line endings.
-Max
--
http://www.everythingsolved.com/
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.
Yes. Although I think it might be --binary, not -binary.
Regards
Frédéric Buclin wrote:
>
> Hi all,
>
> I attached a patch to bug 304005 which implements SMTP authentication
> support for Bugzilla:
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=304005
>
> As I don't use SMTP auth myself, I have no way to test it. If that's a
> feature you expected for a long time, I suggest you test my patch and
> give me your feedback in the bug itself.
>
> To have it work, apply the patch (-p0) to a recent development snapshot
> (e.g. Bugzilla 3.1.3 or better. The patch won't work on Bugzilla 3.0.x
> as is; you will have to backport it), run checksetup.pl and go to the
> "Email" panel in the "Parameters" page. You will see two new fields for
> the username and password required by the SMTP server.
>
> LpSolit
> -
> To view or change your list settings, click here:
> <http://bugzilla.org/cgi-bin/mj_wwwusr?user=li...@nabble.com>
>
>
--
View this message in context: http://www.nabble.com/SMTP-authentication-for-Bugzilla-tp15969908p15975860.html
Sent from the Bugzilla - Dev mailing list archive at Nabble.com.
-
patch -p0 < bug1289-cvs.diff
I get the following message
'patch' is not recognized as an internal or external command, operable
program or batch file.
moreover, I could not find "patch" file or utility in Bugzilla directory.
Plz guide me to resolve this issue. Im using WindowsXP professional.
--
View this message in context: http://www.nabble.com/SMTP-authentication-for-Bugzilla-tp15969908p16000143.html
Max Kanat-Alexander wrote:
>
> On Fri, 14 Mar 2008 11:51:51 +0100 Frédéric Buclin <lps...@gmail.com>
> wrote:
>> So either convert my patch to
>> DOS format (i.e. with CRLF line endings) or upgrade your installation
>> using CVS to get the SMTP auth support.
>
> Or use the --binary switch to the Windows "patch" command,
> which will make it work with LF line endings.
>
> -Max
> --
> http://www.everythingsolved.com/
> Competent, Friendly Bugzilla and Perl Services. Everything Else, too.
> -
> To view or change your list settings, click here:
> <http://bugzilla.org/cgi-bin/mj_wwwusr?user=li...@nabble.com>
>
>
--
View this message in context: http://www.nabble.com/SMTP-authentication-for-Bugzilla-tp15969908p16065383.html
File to patch: c:/bugzilla/bugzilla/config/common.pm
patching file c:/bugzilla/bugzilla/config/common.pm
Hunk #1 FAILED at 50.
1 out of 1 hunk FAILED -- saving rejects to file
c:/bugzilla/bugzilla/config/com
mon.pm.rej
missing header for unified diff at line 67 of patch
can't find file to patch at input line 67
Perhaps you used the wrong -p or --strip option?
File to patch: c:/bugzilla/bugzilla/Config/common.pm
patching file c:/bugzilla/bugzilla/Config/common.pm
Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
now plz tell me what to do? I'll be thankful to you guys if you make me
through it
Regards
--
View this message in context: http://www.nabble.com/SMTP-authentication-for-Bugzilla-tp15969908p16044732.html
Regards
Frédéric Buclin wrote:
>
> newbug a écrit :
>> now plz tell me what to do? I'll be thankful to you guys if you make me
>> through it
>
> The problem is that my patch has the LF line endings used on *nix while
> patch.exe on Windows needs to have a patch using CRLF as line endings,
> else it's unable to read the patch correctly (it sees everything as a
> single line, AFAIK). So either convert my patch to DOS format (i.e. with
> CRLF line endings) or upgrade your installation using CVS to get the
> SMTP auth support.
>
> If you don't know how to do this, I can send you an unofficial
> bugzilla-CVS.tar.bz2 tarball per email (940 Kb), for testing.
>
> LpSolit
> -
> To view or change your list settings, click here:
> <http://bugzilla.org/cgi-bin/mj_wwwusr?user=li...@nabble.com>
>
>
--
View this message in context: http://www.nabble.com/SMTP-authentication-for-Bugzilla-tp15969908p16065362.html
One hack is to open the file with WinWord, then save/as and change the
format to MS-DOS. That will add the \r to your \n's.
and that's why when I click the "parameters" link on bugzilla interface, I
get the following error:
Software error:
Can't locate object method "get_param_list" via package
"Bugzilla::Config::common" at C:/Bugzilla/editparams.cgi line 60.
now plz tell me what to do, as Im unable to work with the patch.
Regards
Frédéric Buclin wrote:
>
> newbug a écrit :
>> now plz tell me what to do? I'll be thankful to you guys if you make me
>> through it
>
> The problem is that my patch has the LF line endings used on *nix while
> patch.exe on Windows needs to have a patch using CRLF as line endings,
> else it's unable to read the patch correctly (it sees everything as a
> single line, AFAIK). So either convert my patch to DOS format (i.e. with
> CRLF line endings) or upgrade your installation using CVS to get the
> SMTP auth support.
>
> If you don't know how to do this, I can send you an unofficial
> bugzilla-CVS.tar.bz2 tarball per email (940 Kb), for testing.
>
> LpSolit
> -
> To view or change your list settings, click here:
> <http://bugzilla.org/cgi-bin/mj_wwwusr?user=li...@nabble.com>
>
>
--
View this message in context: http://www.nabble.com/SMTP-authentication-for-Bugzilla-tp15969908p16114454.html
Sent from the Bugzilla - Dev mailing list archive at Nabble.com.
-
Now if you use current CVS HEAD code (3.1.3+), you don't need to apply
my patch anymore. It's already in the Bugzilla code. All you have to do
is to run checksetup.pl again and you will then see the two new parameters.
If you have more questions, I suggest you join us on IRC in the
#mozwebtools channel on irc.mozilla.org. It will be much easier to help
you and won't spam other members of this mailing-list. I'm there for the
next 2-3 hours and most of the days this week.
(I note your email has been in the queue for one week, explaining this
long delay to respond.)
LpSolit
-
To view or change your list settings, click here:
<http://bugzilla.org/cgi-bin/mj_wwwusr?user=dev-apps...@lists.mozilla.org>
Bugzilla has suffered an internal error. Please save this page and
send it to f...@tsingsoft.com.cn with details of what you were doing at
the time this message appeared.
URL: http://192.168.0.203/bugzilla/post_bug.cgi
undef error - Wide character in syswrite at /usr/lib/perl5/5.8.5/Net/
Cmd.pm line 436.
I input the chinese in body.
> <http://bugzilla.org/cgi-bin/mj_wwwusr?user=dev-apps-bugzi...@lists.mozilla.org>
but it did not make any change in Email interface, there was no
smtp_username or smtp_password entry in the browser.
I'll try to contact you on IRC, if the page gets opened.
Frédéric Buclin wrote:
>
> If you downloaded my patch but you run Bugzilla 3.0.3, this would
> explain why you get errors. As I said, my patch won't work with Bugzilla
> 3.0.3; you have to backport it.
>
> Now if you use current CVS HEAD code (3.1.3+), you don't need to apply
> my patch anymore. It's already in the Bugzilla code. All you have to do
> is to run checksetup.pl again and you will then see the two new
> parameters.
>
> If you have more questions, I suggest you join us on IRC in the
> #mozwebtools channel on irc.mozilla.org. It will be much easier to help
> you and won't spam other members of this mailing-list. I'm there for the
> next 2-3 hours and most of the days this week.
>
> (I note your email has been in the queue for one week, explaining this
> long delay to respond.)
>
> LpSolit
> -
> To view or change your list settings, click here:
> <http://bugzilla.org/cgi-bin/mj_wwwusr?user=li...@nabble.com>
>
>
--
View this message in context: http://www.nabble.com/SMTP-authentication-for-Bugzilla-tp15969908p16274115.html
Sent from the Bugzilla - Dev mailing list archive at Nabble.com.
-
To view or change your list settings, click here:
<http://bugzilla.org/cgi-bin/mj_wwwusr?user=dev-apps...@lists.mozilla.org>
Type:
cvs -q checkout -AP Bugzilla
Bugzilla_Stable will point to the 3.0 branch, which is not what you want.