Mailing List Archive

Trac 1.4.3 + TracTicketChangelogPlugin
Hello,
We are trying to migrate our IC server. This operation is done by changing
the OS (CentOS release 6.10 to RHEL 7.9). We migrated the Apache,
subversion and Trac server (1.0.11 to 1.43) with these plugins.

We migrated the subversion repositories and the Trac projects.

Unfortunately, we are having trouble with the TracTicketChangelogplugin
version 1.2. We no longer see the changeset of our tickets.
Could you help us solve this problem?

thanks in advance

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/65f06c4b-19b6-419a-aa43-97d461bff45bn%40googlegroups.com.
Re: Trac 1.4.3 + TracTicketChangelogPlugin [ In reply to ]
Hi,

On Wed, Jun 16, 2021 at 9:52 PM Hervé B. <herve.blaize@gmail.com> wrote:
>
> Hello,
> We are trying to migrate our IC server. This operation is done by changing the OS (CentOS release 6.10 to RHEL 7.9). We migrated the Apache, subversion and Trac server (1.0.11 to 1.43) with these plugins.
>
> We migrated the subversion repositories and the Trac projects.
>
> Unfortunately, we are having trouble with the TracTicketChangelogplugin version 1.2. We no longer see the changeset of our tickets.
>
> Could you help us solve this problem?
>
> thanks in advance

You could check logged messages in trac.log with DEBUG level and
browser console.

https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheLogs
https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheBrowserConsole


--
Jun Omae <jun66j5@gmail.com> (?? ?)

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAEVLMajAZ1x5BEeH-fGtic6Kwd0ptuz38re7iOo%3DvH7ceBnHag%40mail.gmail.com.
Re: Trac 1.4.3 + TracTicketChangelogPlugin [ In reply to ]
On Wednesday, June 16, 2021 at 5:52:42 AM UTC-7 Hervé B. wrote:

> Hello,
> We are trying to migrate our IC server. This operation is done by changing
> the OS (CentOS release 6.10 to RHEL 7.9). We migrated the Apache,
> subversion and Trac server (1.0.11 to 1.43) with these plugins.
>
> We migrated the subversion repositories and the Trac projects.
>
> Unfortunately, we are having trouble with the TracTicketChangelogplugin
> version 1.2. We no longer see the changeset of our tickets.
> Could you help us solve this problem?
>
> thanks in advance
>

Please try running:

> trac-admin $env ticketlog sync

For reference:
https://trac-hacks.org/wiki/TracTicketChangelogPlugin#Installation

Ryan

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/913c84f2-3282-47d2-aeb4-0cb3d71dc13an%40googlegroups.com.
Re: Trac 1.4.3 + TracTicketChangelogPlugin [ In reply to ]
Hervé B. wrote on 16.06.2021 at 08:19:
> Hello,
> We are trying to migrate our IC server. This operation is done by
> changing the OS (CentOS release 6.10 to RHEL 7.9). We migrated the
> Apache, subversion and Trac server (1.0.11 to 1.43) with these plugins.
>
> We migrated the subversion repositories and the Trac projects.
>
> Unfortunately, we are having trouble with the TracTicketChangelogplugin
> version 1.2. We no longer see the changeset of our tickets.
>
> Could you help us solve this problem?
>
> thanks in advance

Hello

Do not forget to establish the SVN hook scripts for your new server.
This is called SVN repository synchronization.

Have a look into the ordinary TRAC "Repo browser" or into "history". If
you do not see any SVN commit messages, then there might be an issue
with SVN repository synchronization. The TRAC core and the
TracTicketChangelogplugin need this.

https://trac-hacks.org/wiki/TracRepositoryAdmin#Synchronization

Clemens

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/4c1974e1-6666-bd03-530c-ea1d0368ab92%40osypkamed.com.
Re: Trac 1.4.3 + TracTicketChangelogPlugin [ In reply to ]
Hello, I created a post-commit file in each of the SVN repositories. Then I
ran the following commands:
trac-admin /data/repository/trac-fdi repository list
trac-admin /data/repository/trac-fdi repository resync "*"
trac-admin /data/repository/trac-fdi ticketlog sync

here is the console trace:
[root@srvsic:/data/repository]$ trac-admin /data/repository/trac-fdi
repository list

Name Type Alias Directory
-----------------------------------------------------------
Echanges svn /data/repository/subversion/ECHANGES
Métier svn /data/repository/subversion/METIER
Outils svn /data/repository/subversion/OUTILS

[root@srvsic:/data/repository]$ trac-admin /data/repository/trac-fdi
repository resync "*"
Resyncing repository history for Echanges...
769 revisions cached.
Resyncing repository history for Métier...
18311 revisions cached.
Resyncing repository history for Outils...
4365 revisions cached.
Done.
[root@srvsic:/data/repository]$ trac-admin /data/repository/trac-fdi
ticketlog sync
[root@srvsic:/data/repository]$


post-commit
#!/bin/sh
# POST-COMMIT HOOK
echo $(date) 'POST-COMMIT' > /tmp/hooks.log
REPOS="$1"
REV="$2"
export PYTHON_EGG_CACHE="/data/repository/trac-fdi/.egg-cache"
/usr/bin/trac-admin "/data/repository/trac-fdi" changeset added $REPOS $REV
exit


unfortunately I still can't see the changesets.

Hervé

Le vendredi 18 juin 2021 à 08:20:47 UTC+2, Clemens Feige a écrit :

> Hervé B. wrote on 16.06.2021 at 08:19:
> > Hello,
> > We are trying to migrate our IC server. This operation is done by
> > changing the OS (CentOS release 6.10 to RHEL 7.9). We migrated the
> > Apache, subversion and Trac server (1.0.11 to 1.43) with these plugins.
> >
> > We migrated the subversion repositories and the Trac projects.
> >
> > Unfortunately, we are having trouble with the TracTicketChangelogplugin
> > version 1.2. We no longer see the changeset of our tickets.
> >
> > Could you help us solve this problem?
> >
> > thanks in advance
>
> Hello
>
> Do not forget to establish the SVN hook scripts for your new server.
> This is called SVN repository synchronization.
>
> Have a look into the ordinary TRAC "Repo browser" or into "history". If
> you do not see any SVN commit messages, then there might be an issue
> with SVN repository synchronization. The TRAC core and the
> TracTicketChangelogplugin need this.
>
> https://trac-hacks.org/wiki/TracRepositoryAdmin#Synchronization
>
> Clemens
>

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/51ed8147-879b-41cb-9455-6b1b0ba1515an%40googlegroups.com.
Re: Trac 1.4.3 + TracTicketChangelogPlugin [ In reply to ]
I tested the post-commit script. It works well.

Le lundi 21 juin 2021 à 15:30:30 UTC+2, Hervé B. a écrit :

> Hello, I created a post-commit file in each of the SVN repositories. Then
> I ran the following commands:
> trac-admin /data/repository/trac-fdi repository list
> trac-admin /data/repository/trac-fdi repository resync "*"
> trac-admin /data/repository/trac-fdi ticketlog sync
>
> here is the console trace:
> [root@srvsic:/data/repository]$ trac-admin /data/repository/trac-fdi
> repository list
>
> Name Type Alias Directory
> -----------------------------------------------------------
> Echanges svn /data/repository/subversion/ECHANGES
> Métier svn /data/repository/subversion/METIER
> Outils svn /data/repository/subversion/OUTILS
>
> [root@srvsic:/data/repository]$ trac-admin /data/repository/trac-fdi
> repository resync "*"
> Resyncing repository history for Echanges...
> 769 revisions cached.
> Resyncing repository history for Métier...
> 18311 revisions cached.
> Resyncing repository history for Outils...
> 4365 revisions cached.
> Done.
> [root@srvsic:/data/repository]$ trac-admin /data/repository/trac-fdi
> ticketlog sync
> [root@srvsic:/data/repository]$
>
>
> post-commit
> #!/bin/sh
> # POST-COMMIT HOOK
> echo $(date) 'POST-COMMIT' > /tmp/hooks.log
> REPOS="$1"
> REV="$2"
> export PYTHON_EGG_CACHE="/data/repository/trac-fdi/.egg-cache"
> /usr/bin/trac-admin "/data/repository/trac-fdi" changeset added $REPOS $REV
> exit
>
>
> unfortunately I still can't see the changesets.
>
> Hervé
>
> Le vendredi 18 juin 2021 à 08:20:47 UTC+2, Clemens Feige a écrit :
>
>> Hervé B. wrote on 16.06.2021 at 08:19:
>> > Hello,
>> > We are trying to migrate our IC server. This operation is done by
>> > changing the OS (CentOS release 6.10 to RHEL 7.9). We migrated the
>> > Apache, subversion and Trac server (1.0.11 to 1.43) with these plugins.
>> >
>> > We migrated the subversion repositories and the Trac projects.
>> >
>> > Unfortunately, we are having trouble with the TracTicketChangelogplugin
>> > version 1.2. We no longer see the changeset of our tickets.
>> >
>> > Could you help us solve this problem?
>> >
>> > thanks in advance
>>
>> Hello
>>
>> Do not forget to establish the SVN hook scripts for your new server.
>> This is called SVN repository synchronization.
>>
>> Have a look into the ordinary TRAC "Repo browser" or into "history". If
>> you do not see any SVN commit messages, then there might be an issue
>> with SVN repository synchronization. The TRAC core and the
>> TracTicketChangelogplugin need this.
>>
>> https://trac-hacks.org/wiki/TracRepositoryAdmin#Synchronization
>>
>> Clemens
>>
>

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/5e8997a5-3cd9-43c3-b859-5bcec713bc2en%40googlegroups.com.
Re: Trac 1.4.3 + TracTicketChangelogPlugin [ In reply to ]
Hello,
I still have my problem. I don't see any changeset.

Do you have an idea to investigate?

Le lundi 21 juin 2021 à 17:11:41 UTC+2, Hervé B. a écrit :

> I tested the post-commit script. It works well.
>
> Le lundi 21 juin 2021 à 15:30:30 UTC+2, Hervé B. a écrit :
>
>> Hello, I created a post-commit file in each of the SVN repositories. Then
>> I ran the following commands:
>> trac-admin /data/repository/trac-fdi repository list
>> trac-admin /data/repository/trac-fdi repository resync "*"
>> trac-admin /data/repository/trac-fdi ticketlog sync
>>
>> here is the console trace:
>> [root@srvsic:/data/repository]$ trac-admin /data/repository/trac-fdi
>> repository list
>>
>> Name Type Alias Directory
>> -----------------------------------------------------------
>> Echanges svn /data/repository/subversion/ECHANGES
>> Métier svn /data/repository/subversion/METIER
>> Outils svn /data/repository/subversion/OUTILS
>>
>> [root@srvsic:/data/repository]$ trac-admin /data/repository/trac-fdi
>> repository resync "*"
>> Resyncing repository history for Echanges...
>> 769 revisions cached.
>> Resyncing repository history for Métier...
>> 18311 revisions cached.
>> Resyncing repository history for Outils...
>> 4365 revisions cached.
>> Done.
>> [root@srvsic:/data/repository]$ trac-admin /data/repository/trac-fdi
>> ticketlog sync
>> [root@srvsic:/data/repository]$
>>
>>
>> post-commit
>> #!/bin/sh
>> # POST-COMMIT HOOK
>> echo $(date) 'POST-COMMIT' > /tmp/hooks.log
>> REPOS="$1"
>> REV="$2"
>> export PYTHON_EGG_CACHE="/data/repository/trac-fdi/.egg-cache"
>> /usr/bin/trac-admin "/data/repository/trac-fdi" changeset added $REPOS
>> $REV
>> exit
>>
>>
>> unfortunately I still can't see the changesets.
>>
>> Hervé
>>
>> Le vendredi 18 juin 2021 à 08:20:47 UTC+2, Clemens Feige a écrit :
>>
>>> Hervé B. wrote on 16.06.2021 at 08:19:
>>> > Hello,
>>> > We are trying to migrate our IC server. This operation is done by
>>> > changing the OS (CentOS release 6.10 to RHEL 7.9). We migrated the
>>> > Apache, subversion and Trac server (1.0.11 to 1.43) with these
>>> plugins.
>>> >
>>> > We migrated the subversion repositories and the Trac projects.
>>> >
>>> > Unfortunately, we are having trouble with the
>>> TracTicketChangelogplugin
>>> > version 1.2. We no longer see the changeset of our tickets.
>>> >
>>> > Could you help us solve this problem?
>>> >
>>> > thanks in advance
>>>
>>> Hello
>>>
>>> Do not forget to establish the SVN hook scripts for your new server.
>>> This is called SVN repository synchronization.
>>>
>>> Have a look into the ordinary TRAC "Repo browser" or into "history". If
>>> you do not see any SVN commit messages, then there might be an issue
>>> with SVN repository synchronization. The TRAC core and the
>>> TracTicketChangelogplugin need this.
>>>
>>> https://trac-hacks.org/wiki/TracRepositoryAdmin#Synchronization
>>>
>>> Clemens
>>>
>>

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/9ae155d1-cb4b-4a5c-9487-4782ce6b4db3n%40googlegroups.com.
Re: Trac 1.4.3 + TracTicketChangelogPlugin [ In reply to ]
On Tuesday, June 22, 2021 at 7:35:19 AM UTC-7 Hervé B. wrote:

> Hello,
> I still have my problem. I don't see any changeset.
>
> Do you have an idea to investigate?
>

Suggest doing as Jun suggested and checking the logs for:
https://trac-hacks.org/browser/tracticketchangelogplugin/1.2/ticketlog/web_ui.py?rev=18033&marks=78#L63

On Wednesday, June 16, 2021 at 5:26:46 PM UTC-7 Jun Omae wrote:
Hi,

You could check logged messages in trac.log with DEBUG level and
browser console.

https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheLogs
https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheBrowserConsole



--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/deb4a79c-6409-4446-bf9b-52f09227a24cn%40googlegroups.com.
Re: Trac 1.4.3 + TracTicketChangelogPlugin [ In reply to ]
Hello,
With version 1.4.3, there is a new table that appears in the database:
*ticket_revision*.

With version 1.0.11 here is the SQL query in the trac.log file:
2021-06-23 11: 34: 21,476 Trac [util] DEBUG: SQL:
SELECT p.value, v.rev, v.author, v.time, v.message
FROM revision v
LEFT JOIN repository p
ON v.repos = p.id AND p.name = 'name'
WHERE message LIKE% s

2021-06-23 11: 34: 21,476 Trac [util] DEBUG: args: ['% # 1207%']
2021-06-23 11: 34: 21,514 Trac [util] DEBUG: prefetch: 6 rows

The result is 6 lines and the parameter '% # 1207%'

With version 1.4.3 here is the SQL query in the trac.log file:

2021-06-23 13: 54: 47,360 Trac [util] DEBUG: SQL:
SELECT p.value, r.rev, r.author, r.time, r.message
FROM ticket_revision AS tr
LEFT JOIN revision AS r
ON r.repos = tr.repos AND r.rev = tr.rev
LEFT JOIN repository AS p
ON p.id = tr.repos AND p.name = 'name'
WHERE tr.ticket =% s

2021-06-23 13: 54: 47,360 Trac [util] DEBUG: args: (1207,)
2021-06-23 13: 54: 47,360 Trac [util] DEBUG: prefetch: 0 rows

The result is 0 lines and the parameter 1207,

By passing the SQL query select * from ticket_revision, the table is empty.

We see that the table is empty. What did we miss in the migration?
Le mercredi 23 juin 2021 à 04:42:01 UTC+2, RjOllos a écrit :

> On Tuesday, June 22, 2021 at 7:35:19 AM UTC-7 Hervé B. wrote:
>
>> Hello,
>> I still have my problem. I don't see any changeset.
>>
>> Do you have an idea to investigate?
>>
>
> Suggest doing as Jun suggested and checking the logs for:
>
> https://trac-hacks.org/browser/tracticketchangelogplugin/1.2/ticketlog/web_ui.py?rev=18033&marks=78#L63
>
> On Wednesday, June 16, 2021 at 5:26:46 PM UTC-7 Jun Omae wrote:
> Hi,
>
>
> You could check logged messages in trac.log with DEBUG level and
> browser console.
>
> https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheLogs
> https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheBrowserConsole
>

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/254ceb68-338c-4729-af6d-26cab2365b13n%40googlegroups.com.
Re: Trac 1.4.3 + TracTicketChangelogPlugin [ In reply to ]
After running the 'trac-admin $ env ticketlog sync' command, the
ticket_revision table is still empty. When creating a new ticket, the
ticket_revision table is always empty. Weird ...

Le mercredi 23 juin 2021 à 14:07:30 UTC+2, Hervé B. a écrit :

> Hello,
> With version 1.4.3, there is a new table that appears in the database:
> *ticket_revision*.
>
> With version 1.0.11 here is the SQL query in the trac.log file:
> 2021-06-23 11: 34: 21,476 Trac [util] DEBUG: SQL:
> SELECT p.value, v.rev, v.author, v.time, v.message
> FROM revision v
> LEFT JOIN repository p
> ON v.repos = p.id AND p.name = 'name'
> WHERE message LIKE% s
>
> 2021-06-23 11: 34: 21,476 Trac [util] DEBUG: args: ['% # 1207%']
> 2021-06-23 11: 34: 21,514 Trac [util] DEBUG: prefetch: 6 rows
>
> The result is 6 lines and the parameter '% # 1207%'
>
> With version 1.4.3 here is the SQL query in the trac.log file:
>
> 2021-06-23 13: 54: 47,360 Trac [util] DEBUG: SQL:
> SELECT p.value, r.rev, r.author, r.time, r.message
> FROM ticket_revision AS tr
> LEFT JOIN revision AS r
> ON r.repos = tr.repos AND r.rev = tr.rev
> LEFT JOIN repository AS p
> ON p.id = tr.repos AND p.name = 'name'
> WHERE tr.ticket =% s
>
> 2021-06-23 13: 54: 47,360 Trac [util] DEBUG: args: (1207,)
> 2021-06-23 13: 54: 47,360 Trac [util] DEBUG: prefetch: 0 rows
>
> The result is 0 lines and the parameter 1207,
>
> By passing the SQL query select * from ticket_revision, the table is empty.
>
> We see that the table is empty. What did we miss in the migration?
> Le mercredi 23 juin 2021 à 04:42:01 UTC+2, RjOllos a écrit :
>
>> On Tuesday, June 22, 2021 at 7:35:19 AM UTC-7 Hervé B. wrote:
>>
>>> Hello,
>>> I still have my problem. I don't see any changeset.
>>>
>>> Do you have an idea to investigate?
>>>
>>
>> Suggest doing as Jun suggested and checking the logs for:
>>
>> https://trac-hacks.org/browser/tracticketchangelogplugin/1.2/ticketlog/web_ui.py?rev=18033&marks=78#L63
>>
>> On Wednesday, June 16, 2021 at 5:26:46 PM UTC-7 Jun Omae wrote:
>> Hi,
>>
>>
>> You could check logged messages in trac.log with DEBUG level and
>> browser console.
>>
>> https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheLogs
>> https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheBrowserConsole
>>
>

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/5baf2aff-be14-437f-92be-e69fab32bafen%40googlegroups.com.
Re: Trac 1.4.3 + TracTicketChangelogPlugin [ In reply to ]
On Thu, Jun 24, 2021 at 2:26 AM Hervé B. <herve.blaize@gmail.com> wrote:

> After running the 'trac-admin $ env ticketlog sync' command, the
> ticket_revision table is still empty. When creating a new ticket, the
> ticket_revision table is always empty. Weird ...
>

Could you check the debug level log while running "ticketlog sync" command?

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CA%2BBGpn8yfmNC8QRoa9mT%3DqMa1SmU063-AO6gkcj-hnxxCsd8Bw%40mail.gmail.com.
Re: Trac 1.4.3 + TracTicketChangelogPlugin [ In reply to ]
The lines are not inserted and there is no error. How can we debug the
web_ui.py script or the SQL commands?

Le jeudi 24 juin 2021 à 17:08:20 UTC+2, Hervé B. a écrit :

> Hi Ryan,
>
> I send you the log file...
>
> Le jeudi 24 juin 2021 à 16:53:24 UTC+2, RjOllos a écrit :
>
>> On Thu, Jun 24, 2021 at 2:26 AM Hervé B. <herve....@gmail.com> wrote:
>>
>>> After running the 'trac-admin $ env ticketlog sync' command, the
>>> ticket_revision table is still empty. When creating a new ticket, the
>>> ticket_revision table is always empty. Weird ...
>>>
>>
>> Could you check the debug level log while running "ticketlog sync"
>> command?
>>
>

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/13132196-83ad-4e81-b34d-7eae095a9a50n%40googlegroups.com.
Re: Trac 1.4.3 + TracTicketChangelogPlugin [ In reply to ]
On Thursday, June 24, 2021 at 12:10:21 PM UTC-7 Hervé B. wrote:

> The lines are not inserted and there is no error. How can we debug the
> web_ui.py script or the SQL commands?
>

It appears there are no ticket ids parsed from the change log at this
location in the code, otherwise we would see SQL statements in the log
after the "Trying to sync ..." messages:

https://trac-hacks.org/browser/tracticketchangelogplugin/1.2/ticketlog/web_ui.py?marks=160,162&rev=18033#L157

What pattern are you using to reference tickets? Can you show an example
message that references a ticket?

As described in the link below, you may need to configure the
commit_ticket_update options:
https://trac-hacks.org/wiki/TracTicketChangelogPlugin#Configuration
https://trac.edgewall.org/wiki/CommitTicketUpdater#Configuration

Ryan

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/202f1072-7435-4a88-a2dd-ef9eb8d6b14fn%40googlegroups.com.
Re: Trac 1.4.3 + TracTicketChangelogPlugin [ In reply to ]
Hello,

Finally I was able to install TicketChangelogPlugin. I had a problem with
the pattern of our tickets.

Here is what I configured in trac.ini to make the plugin work:
[ticket]
commit_ticket_update_envelope =
commit_ticket_update_commands.close =
commit_ticket_update_commands.refs = <ALL>
commit_ticket_update_check_perms = true
commit_ticket_update_notify = true

The problem was on commit_ticket_update_envelope.
Thank you for the help you have given me.

Herve
Le vendredi 25 juin 2021 à 04:58:35 UTC+2, RjOllos a écrit :

> On Thursday, June 24, 2021 at 12:10:21 PM UTC-7 Hervé B. wrote:
>
>> The lines are not inserted and there is no error. How can we debug the
>> web_ui.py script or the SQL commands?
>>
>
> It appears there are no ticket ids parsed from the change log at this
> location in the code, otherwise we would see SQL statements in the log
> after the "Trying to sync ..." messages:
>
>
> https://trac-hacks.org/browser/tracticketchangelogplugin/1.2/ticketlog/web_ui.py?marks=160,162&rev=18033#L157
>
> What pattern are you using to reference tickets? Can you show an example
> message that references a ticket?
>
> As described in the link below, you may need to configure the
> commit_ticket_update options:
> https://trac-hacks.org/wiki/TracTicketChangelogPlugin#Configuration
> https://trac.edgewall.org/wiki/CommitTicketUpdater#Configuration
>
> Ryan
>

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/12f0168c-5605-45f5-b3ff-90ecd4724973n%40googlegroups.com.