philipbenr wrote:I don't know about you all, But I used to have a simple script (I forgot whether python or something else) that updated all the files that were on GitHub. I will take a look around and see If I can find it.
dgm5555 wrote:philipbenr wrote:I don't know about you all, But I used to have a simple script (I forgot whether python or something else) that updated all the files that were on GitHub. I will take a look around and see If I can find it.
Am I missing something - MT-GitSync *is* an easy tool to update all mods on git-hub (just click Update All)
Morn76 wrote:webdesigner97 wrote:I do use it :D My StreetsMod just waits for an update :P
Great, but how are users going to get that update without downloading a new ZIP file? Not very convenient if you ask me.
webdesigner97 wrote:Modders should be able do do http requests, then you can at least notify the users about a new version...
webdesigner97 wrote:Not everyone has Python installed :/
Morn76 wrote:webdesigner97 wrote:Not everyone has Python installed :/
It's installed by default on OS X and probably on many Linux distributions (even though the Tkinter bindings might be missing on some.)
And the worst part about installing on Windows is finding an .exe on the slightly confusing python.org site, which is why I've put a direct link to the 3.4.0 download page in my first post. So all things considered I'd say running a basic Python script on the big three OSes is not that hard.
webdesigner97 wrote:Well, I was able to install Python on my Windows, but for other it might not be worth it... sadly...
if fields.gitsync then
-- run the python script to generate the map (could be run in background by appending an '&' to the string, but texture might be corrupted or out of date for current load)
local osx = "python \"/home/david/.minetest/mods/MT-GitSync/gitsyncpy\" --updateall y --moddir \"/home/david/.minetest/mods/\" --with arguments
local osx = "python \"/home/david/.minetest/mods/MT-GitSync/gitsyncpy\" --without
os.execute(osx)
print("mapit: Updated map for ".. worldName)
minetest.chat_send_player(mapitPlayerName, "Map Updated. Please exit and re-enter world to reload the texture", false)
end
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1489, in __call__
return self.func(*args)
File "./gitsync.py", line 114, in add_repo
nmfile = open(newmod_fn, 'ba')
ValueError: mode string must begin with one of 'r', 'w', 'a' or 'U', not 'ba'
modName,gitAddress,forumAddress
[RELEASE] [closed] outgame intervention [outgame_intervention] - Minetest Forums,https://github.com/HybridDog/outgame_intervention,https://forum.minetest.net/viewtopic.php?p=165495
[RELEASE] [closed] Superpickaxe [superpick] - Minetest Forums,https://github.com/HybridDog/superpick,https://forum.minetest.net/viewtopic.php?p=51650
[RELEASE] [Mod] [GitHub] CreativeChanger - per-player gamemode [creativechanger] - Minetest Forums,https://github.com/Traxie21/CreativeChanger/,https://forum.minetest.net/viewtopic.php?p=80793
[RELEASE] [Mod] [Lib] Smart Formspecs [1.1 -!- inventory_plus support][smartfs] - Minetest Forums,https://github.com/rubenwardy/smartfs,https://forum.minetest.net/viewtopic.php?p=116028
[RELEASE] [Mod] 3-biome mapgen [noisetest] - Minetest Forums,https://github.com/SmallJoker/noisetest,https://forum.minetest.net/viewtopic.php?p=142510
[RELEASE] [Mod] 3D animals [1] [animals] - Minetest Forums,http://cornernote.github.io/minetest/,https://forum.minetest.net/viewtopic.php?p=36007
[RELEASE] [Mod] 3D Furniture [1.0] [3dforniture] - Minetest Forums,https://github.com/tony-ka/tonyka-minetest-mods,https://forum.minetest.net/viewtopic.php?p=28730
[RELEASE] [Mod] 3D noise floatlands [0.2.0] [fracture] - Minetest Forums,https://github.com/paramat/fracture,https://forum.minetest.net/viewtopic.php?p=139386
[RELEASE] [Mod] 3D Players [3d_player] - Minetest Forums,https://github.com/PilzAdam/3d_player,https://forum.minetest.net/viewtopic.php?p=50243
[RELEASE] [Mod] 3D Players [3d_player] - Minetest Forums,http://cornernote.github.io/minetest/,https://forum.minetest.net/viewtopic.php?p=50430
[RELEASE] [Mod] 3D Players [3d_player] - Minetest Forums,https://github.com/Sokomine/3d_player,https://forum.minetest.net/viewtopic.php?p=50430
[RELEASE] [Mod] Above sea level pools in map
Morn76 wrote:There are no checks for infinite loops though, so situations where mod X depends on mod Y and vice versa have to be avoided. :-)
Morn76 wrote:Updated the mod list today. 844 mods in total now…
$ mtpm install digiline-stuff # install a mod
$ mtpm remove digiline-stuff # uninstall a mod
$ mtpm update # update mod list
$ mtpm update-mods # update mods
webdesigner97 wrote:Not everyone has Python installed :/
$ sudo apt-get install python
rubenwardy wrote:MMDB is dead.
Users browsing this forum: No registered users and 1 guest