Don't require restart to change release number #23

Open
opened 2025-04-21 14:47:30 -04:00 by idk · 2 comments
Owner

Opened 2 years ago

Last modified 2 years ago

#2400assigneddefect

Don't require restart to change release number

Reported by:zzzOwned by:sadie
Priority:
minor
Milestone:
undecided
Component:
www/i2p
Version:
0.9.38
Keywords:

Cc:

Parent Tickets:

Sensitive:
no

Description

str4d says the website should recognize when the release number changes in init.py. Usually but not always, however, a restart is required. zab says that since the .py must be compiled to a .pyc, a restart is always required. Figure out who's right, and why, and fix it so a restart is never required.

Subtickets

Opened [2 years ago](/timeline?from=2019-01-22T21%3A06%3A22Z&precision=second "See timeline at Jan 22, 2019 9:06:22 PM") Last modified [2 years ago](/timeline?from=2019-04-18T13%3A29%3A57Z&precision=second "See timeline at Apr 18, 2019 1:29:57 PM") ## [\#2400](/ticket/2400)[assigned](/query?status=assigned)[defect](/query?status=!closed&type=defect) # Don't require restart to change release number Reported by:[zzz](/query?status=!closed&reporter=zzz)Owned by:[sadie](/query?status=!closed&owner=sadie) Priority: [minor](/query?status=!closed&priority=minor) Milestone: [undecided](/milestone/undecided "No date set") Component: [www/i2p](/query?status=!closed&component=www%2Fi2p) Version: [0.9.38](/query?status=!closed&version=0.9.38) Keywords: Cc: Parent Tickets: Sensitive: [no](/query?status=!closed&sensitive=0) ### Description str4d says the website should recognize when the release number changes in init.py. Usually but not always, however, a restart is required. zab says that since the .py must be compiled to a .pyc, a restart is always required. Figure out who's right, and why, and fix it so a restart is never required. ### Subtickets
idk added this to the undecided milestone 2025-04-21 14:47:30 -04:00
idk added the
#2400
i2p
undecided
www
labels 2025-04-21 14:47:30 -04:00
Author
Owner

comment:2 Changed 2 years ago by zzz

Owner:
changed from slumlord to _sadie_Status:new →
assigned

[comment:2](https://trac.i2p2.de/\#comment:2) Changed [2 years ago](https://trac.i2p2.de//timeline?from=2019-04-18T13%3A29%3A57Z&precision=second "See timeline at Apr 18, 2019 1:29:57 PM") by zzz Owner: changed from _slumlord_ to _sadie_Status:new → assigned
Author
Owner

comment:1 Changed 2 years ago by Zlatin Balevsky

If I'm right about the .pyc compilation, then this approach may help ​https://www.indelible.org/ink/python-reloading/ but it's not trivial at all.

[comment:1](https://trac.i2p2.de/\#comment:1) Changed [2 years ago](https://trac.i2p2.de//timeline?from=2019-01-22T23%3A03%3A55Z&precision=second "See timeline at Jan 22, 2019 11:03:55 PM") by Zlatin Balevsky If I'm right about the .pyc compilation, then this approach may help [​https://www.indelible.org/ink/python-reloading/](https://trac.i2p2.de/https://www.indelible.org/ink/python-reloading/) but it's not trivial at all.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: I2P_Developers/i2p.www#23
No description provided.