GeraldWodni / theforth.net

Package registry website for the Forth programming language
GNU General Public License v3.0
15 stars 4 forks source link

Table locking issues aft package update #14

Closed uho closed 5 years ago

uho commented 6 years ago

After updating the package interpretive theForth.net did not acknowledge the upload.

Refreshing the profile now returns

ER_TABLE_NOT_LOCKED: Table 'users' was not locked with LOCK TABLES

GeraldWodni commented 5 years ago

As mentioned offline I thought this issue was just a hickup, but I will have to reimplement the git portion of upload.

Thanks for letting me know!

GeraldWodni commented 5 years ago

Table Locks fixed using GET_LOCK and RELEASE_LOCK instead of (UN-)LOCK TABLES

Packages git repository fixes node-git replaces by simple-git; upload works again.

Commit: 1f808eb06dd3e3fad95e33746afa3570b8b3164b