make TB60 pick up code changes of addon

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

make TB60 pick up code changes of addon

opto
during development, how can I make TB to pick up code changes without deinstalling/reinstalling my addon? .. both for restartless and XUL addons?

I am not sure that I ever had problems for that before TB 60. My addon code resides in a directory that is included using a file pointing to correct place (in extensions directory in profile).

I tried the about config options given in https://developer.mozilla.org/en-US/docs/Archive/Add-ons/Setting_up_extension_development_environment, used the DefPrevs addon as found in https://github.com/Noitidart/DevPrefs with correct maxversion (original disappeared from AMO).
Also, I had a look at bug https://bugzilla.mozilla.org/show_bug.cgi?id=531886.

Nothing did work. How do others do this?

Didn't work on addons for a few months. I seem to remember that I only had to restart TB to pick up code changes.

thanks,  Klaus
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|

Re: make TB60 pick up code changes of addon

Jörg Knobloch
On 16/12/2018 06:44, opto wrote:
> Didn't work on addons for a few months. I seem to remember that I only had to restart TB to pick up code changes.

Side-loading has changed. I will only pick up the changes if you touch
install.rdf.

https://bugzilla.mozilla.org/show_bug.cgi?id=1389189#c4

Also: https://bugzilla.mozilla.org/show_bug.cgi?id=1389741

Jörg.

_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|

Re: make TB60 pick up code changes of addon

opto
Thanks, Jörg.

Is that documented somewhere?

As it seems it came up After 56, can you put a Note into the Wiki document posting the necessary Code changes for 57 - 60?
That might be a good Place.

Looking at the two bugs and my evening yesterday there seem to be a few Addon authors who waisted a few hours in this instead  of doing new Code.

There is only so much ressource and if we fight with These issues there is no capacity to do sensible work.

Don't take this Note personal it is a Call of being undersupported with respect to all the changes.

I am willing to append the Wiki with a Note Should I have editing permissions.

Thanks Klaus
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|

Re: make TB60 pick up code changes of addon

Onno Ekker-2
As far as I know mozilla wiki is an open wiki and everybody can register and make edits.

Onni

> On 16 Dec 2018, at 16:50, opto <[hidden email]> wrote:
>
> Thanks, Jörg.
>
> Is that documented somewhere?
>
> As it seems it came up After 56, can you put a Note into the Wiki document posting the necessary Code changes for 57 - 60?
> That might be a good Place.
>
> Looking at the two bugs and my evening yesterday there seem to be a few Addon authors who waisted a few hours in this instead  of doing new Code.
>
> There is only so much ressource and if we fight with These issues there is no capacity to do sensible work.
>
> Don't take this Note personal it is a Call of being undersupported with respect to all the changes.
>
> I am willing to append the Wiki with a Note Should I have editing permissions.
>
> Thanks Klaus
> _______________________________________________
> dev-apps-thunderbird mailing list
> [hidden email]
> https://lists.mozilla.org/listinfo/dev-apps-thunderbird

_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird

smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: make TB60 pick up code changes of addon

opto
Am Sonntag, 16. Dezember 2018 18:47:10 UTC+1 schrieb Onno Ekker:
> As far as I know mozilla wiki is an open wiki and everybody can register and make edits.

Thanks, I will add a note
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|

Re: make TB60 pick up code changes of addon

opto
In reply to this post by Jörg Knobloch
> Side-loading has changed. I will only pick up the changes if you touch
> install.rdf.
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=1389189#c4
>
> Also: https://bugzilla.mozilla.org/show_bug.cgi?id=1389741
>
> Jörg.

This is my observation:

code changes are picked up when install.rdf is changed in addition to js or other files. Makes me count up the version number each time, which is good.

But, surprisingly, the new code comes over only after the second restart of TB.
I have tried both the restart addon for that, or manually ending/restarting TB.

I thought it might be related to file time of install.rdf, but waiting for a minute did not help.
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird