View Single Post
Old 10-05-2022, 10:54 AM   #14
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,911
Karma: 6120478
Join Date: Nov 2009
Device: many
It might be possible. As far as I remember, the Annotated Tag does just point to a separate commit. Deleting and recreating it will change the tag date and time unless we manually back fill it also.

From looking at the dulwich code I see that message is a slot in the Tag object. So I am wondering if we just get the Tag object from the object store using the tag name as key, then change only the message field and write it back with the exact same key to overwrite things in the object store.

Not sure if that is doable or not.

I may try and add an update_tag_message routine to repomanager.py to see if direct manipulation of an annotated tag message field is possible when I get some time tonight or tomorrow. If it works, we should be able to figure out a way for the manage repos dialog to add that field and allow it to be edited.

Last edited by KevinH; 10-05-2022 at 11:06 AM.
KevinH is offline   Reply With Quote