By 'not possible' I really meant 'maybe not a good idea'. I am not
sure what might happen if I opened the SQLite database a second time
(Trac being the first) and made my changes.

I think the second option you suggested sounds most interesting. In
addition to this change, I will be adding some tables of my own that I
will want to access in Trac but maintain elsewhere. So I could use my
new skills for that as well.

I looked at link [3] and will have do figure out what
tractags/xmlrpc.py is really doing. I am guessing that I would add the
RPC functions to Trac (either in the DownloadsPlugin or in my own) and
also make an RPC client that uses this connection to make the required
database changes? If I extended the DownloadsPlugin I think I would
just add the missing update command and not bother with RPC. I made a
ticket reflecting my interest in this addition to the Plugin. But
perhaps learning to extend things via RPC is a good thing for me to
do.

On Thu, Jan 8, 2015 at 9:04 PM, Steffen Hoffmann <hoff...@web.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 08.01.2015 07:45, Roger Oberholtzer wrote:
>> Specifically, what I am trying to accomplish is updating a file in the
>> file system, and then updating the date and size fields in the Trac
>> download table to reflect this. If I could do this via Trac I would be
>> happy.
>
> I'd implement some XMLRPC method [1] extending DownloadsPlugin [2] for
> altering the Trac db. Get an idea of how such an RPC implementation is
> done from another, recently added implementation [3] of that API.
>
>> But I think this is not possible.
>
> Specifically such a thing like "is not possible" does not exist for a
> highly versatile, modularized CMS like Trac. :-)
>
> Steffen Hoffmann
>
>
> [1] https://trac-hacks.org/wiki/XmlRpcPlugin
> [2] https://trac-hacks.org/wiki/DownloadsPlugin
> [3] http://trac-hacks.org/changeset/13858/tagsplugin
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
>
> iEYEARECAAYFAlSu4ssACgkQ31DJeiZFuHexDgCgxDXskJWs1kR41zQRQg2QffIP
> aYEAnjQICAd2nsfgUaU/hGuszq7pR456
> =flUV
> -----END PGP SIGNATURE-----
>
> --
> 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+unsubscr...@googlegroups.com.
> To post to this group, send email to trac-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/trac-users.
> For more options, visit https://groups.google.com/d/optout.



-- 
Roger Oberholtzer

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to