r/esapi • u/brjdenis • 26d ago
Script updates - proper naming
Hi. I wonder if anyone has an opinion on how to properly name scripts.
Say, you have a script called MyScript that you would like to update frequently.
One option is to keep the dll named MyScript.esapi.dll. Of course, internally you increase the version number. In this case, each time you update the script you have to delete the previous file and replace it with a new one. However, you cannot do this if at least one user hasn't closed Aria completely after the last usage of the script. Finding this user or users is very hard. But until you do so, you cannot update the script.
Another option is to have a different name for each new version with increased version number, for example MyScript_v1.10. The downside of this option is that each user has to re-load the script from Tools.
What do you use?
View all comments
2
u/keithoffer 26d ago
Originally I put the version in the name for visibility. However every time we updated a script people would have to manually update any 'favourites' they had set, which annoyed users. So now we don't bother. If you set the version number properly in the code, it will still show up if you right click on the file and go into properties, so it's still visible if needed for any reason.
We use fullscale Eclipse with a Citrix timeout of about two hours. So if we wait until late at night, everyone's session will autoclose - so we can update scripts then as ARIA will be fully closed for all users.