[Tool] GUI for installing and updating mods from GitHub

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Tool] GUI for installing and updating mods from GitHub

by rubenwardy » Wed Aug 26, 2015 16:37

I don't think it will, minetest-bower is much better in my opinion. And MTPM will eventually be able to be used in-game to download mods.
 

User avatar
jogag
Member
 
Posts: 106
Joined: Wed Aug 12, 2015 18:32
GitHub: jogag
IRC: jogag
In-game: jogag

Re: [Tool] GUI for installing and updating mods from GitHub

by jogag » Wed Aug 26, 2015 16:41

rubenwardy wrote:I don't think it will, minetest-bower is much better in my opinion. And MTPM will eventually be able to be used in-game to download mods.

Wow!!! MTPM already exists! What about integrating it with this program (sharing the mod list)?
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Tool] GUI for installing and updating mods from GitHub

by rubenwardy » Wed Aug 26, 2015 16:42

I was originally going to use this list, but it's too inaccurate for my needs. MTPM_Lists is much more accurate.
 

User avatar
jogag
Member
 
Posts: 106
Joined: Wed Aug 12, 2015 18:32
GitHub: jogag
IRC: jogag
In-game: jogag

Re: [Tool] GUI for installing and updating mods from GitHub

by jogag » Wed Aug 26, 2015 16:44

rubenwardy wrote:I was originally going to use this list, but it's too inaccurate for my needs. MTPM_Lists is much more accurate.

Does this mean MTPM is better than this tool?
 

Dartmouth
Member
 
Posts: 121
Joined: Sat Dec 06, 2014 14:39
IRC: pilino1234

Re: [Tool] GUI for installing and updating mods from GitHub

by Dartmouth » Wed Aug 26, 2015 16:56

jogag wrote:
rubenwardy wrote:I was originally going to use this list, but it's too inaccurate for my needs. MTPM_Lists is much more accurate.

Does this mean MTPM is better than this tool?

There are probably some ways. But, I didn't have to install a boatload of stuff that doesn't make it work anyway... Got fed up with trying to get MTPM working because of some missing dependency that doesn't seem to give proper error messages either, so I quit trying to get it working, because in the long run I would waste more time trying to get it to work than cloning repos in the terminal...
To me, this python program is nicer, as it runs basically out of the box (unless your distro doesn't have tkinter installed by default, which is however clearly stated in the first post, along with the names of the correct packages to install).

Although I don't really use a graphical package manager anyway these days, but this tool is very good for getting started.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Tool] GUI for installing and updating mods from GitHub

by rubenwardy » Wed Aug 26, 2015 17:02

MTPM is buggy at the moment, and a work in progress. I've discovered that LuaRocks absolutely sucks as a way to install dependencies.

I'd suggest Minetest-Bower as a command line installer over MTPM.
 

Dartmouth
Member
 
Posts: 121
Joined: Sat Dec 06, 2014 14:39
IRC: pilino1234

Re: [Tool] GUI for installing and updating mods from GitHub

by Dartmouth » Thu Aug 27, 2015 15:31

In theory yes, however, I haven't been able to find bower for openSUSE, so I can't use that either...
 

User avatar
Evergreen
Member
 
Posts: 2131
Joined: Sun Jan 06, 2013 01:22
GitHub: 4Evergreen4
IRC: EvergreenTree
In-game: Evergreen

Re: [Tool] GUI for installing and updating mods from GitHub

by Evergreen » Thu Aug 27, 2015 20:31

Dartmouth wrote:In theory yes, however, I haven't been able to find bower for openSUSE, so I can't use that either...

Dartmouth, bower is installed as a node package. First install node.js and npm (node package manager) then do sudo npm install -g bower

Done.
"Help! I searched for a mod but I couldn't find it!"
http://krock-works.16mb.com/MTstuff/modSearch.php
 

Morn76
Member
 
Posts: 640
Joined: Sun Feb 16, 2014 19:45
GitHub: mdoege

Re: [Tool] GUI for installing and updating mods from GitHub

by Morn76 » Fri Aug 28, 2015 09:38

rubenwardy wrote:I was originally going to use this list, but it's too inaccurate for my needs. MTPM_Lists is much more accurate.

Ruben, if you have a more accurate mod list, I'd gladly incorporate that.

Of course my tool is all about cloning GitHub repos, whereas other MT package managers I've seen so far download and unzip archive files, so mod lists might not be easily interchangeable.
 

Dartmouth
Member
 
Posts: 121
Joined: Sat Dec 06, 2014 14:39
IRC: pilino1234

Re: [Tool] GUI for installing and updating mods from GitHub

by Dartmouth » Fri Aug 28, 2015 13:57

Evergreen wrote:
Dartmouth wrote:In theory yes, however, I haven't been able to find bower for openSUSE, so I can't use that either...

Dartmouth, bower is installed as a node package. First install node.js and npm (node package manager) then do sudo npm install -g bower

Done.


Thanks, I'll give it a shot this weekend
 

Morn76
Member
 
Posts: 640
Joined: Sun Feb 16, 2014 19:45
GitHub: mdoege

Re: [Tool] GUI for installing and updating mods from GitHub

by Morn76 » Mon Jun 20, 2016 17:08

I have updated the mod list today; now there are 1,096 mods in total.

P.S. And now it's back down to 1,006 mods after I have removed some repos that have been deleted on GitHub.
 

izzyb
Member
 
Posts: 21
Joined: Thu May 07, 2015 22:41

Re: [Tool] GUI for installing and updating mods from GitHub

by izzyb » Thu Aug 25, 2016 08:36

Here's some more you could remove. I've confirmed they are dead - No files for download at the link provided. I have a number to add from my new_mods.csv. I'll post them after I've converted them to big_modlist_edit.csv format. Loving this tool! :)

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
[WIP] [closed] Antiguest [antiguest],HybridDog/antiguest,https://forum.minetest.net/viewtopic.php?p=107070
[WIP] [closed] Fire extinguisher [extinguisher],HybridDog/extinguisher,https://forum.minetest.net/viewtopic.php?p=156570
[WIP] [closed] nodes spawning houses [home_builder],HybridDog/home_builder,https://forum.minetest.net/viewtopic.php?p=156585
[WIP] [closed] PilzAdam's builtin_item mod reworked [builtin_item],HybridDog/builtin_item,https://forum.minetest.net/viewtopic.php?p=156578
[WIP] [closed] simple and slow shadows [shadows],HybridDog/shadows,https://forum.minetest.net/viewtopic.php?p=130855
[WIP] [closed] simulating lavacooling mountains [vulkane],HybridDog/vulkane,https://forum.minetest.net/viewtopic.php?p=165415
[WIP] [closed] Teleport bugfix [stay_inside],HybridDog/stay_inside,https://forum.minetest.net/viewtopic.php?p=156580
[WIP] [closed] Teleport bugfix [stay_inside],minetest/minetest/issues,https://forum.minetest.net/viewtopic.php?p=156580
[WIP] [closed] water removing... with sounds [stronger_water],HybridDog/stronger_water,https://forum.minetest.net/viewtopic.php?p=157429

 

Morn76
Member
 
Posts: 640
Joined: Sun Feb 16, 2014 19:45
GitHub: mdoege

Re: [Tool] GUI for installing and updating mods from GitHub

by Morn76 » Thu Aug 25, 2016 09:09

Thanks, izzyb! I've updated my MT-GitSync and gitsync-devel repos and also added the new entries from new_forum_mods.csv. Now we have 1,073 mods… :-)
 

izzyb
Member
 
Posts: 21
Joined: Thu May 07, 2015 22:41

Re: [Tool] GUI for installing and updating mods from GitHub

by izzyb » Tue Aug 30, 2016 07:33

Here's another list of entries that can be removed from the big list. I went through the list looking for duplicate entries. These are the duplicates that appear to point to the wrong file. I haven't verified if the repositories being pointed to have correct entries in the list.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
Ban Hammer [0.2.1] [ban_hammer],ChaosWormz/minetest_game,https://forum.minetest.net/viewtopic.php?p=137199
Bees and beekeeper [2.0] [bees],minetest/minetest,https://forum.minetest.net/viewtopic.php?p=144219
Biomes for mapgen v5/v7 stone [0.4.2] [paragenv7],gamergardencat/plantlife_modpack,https://forum.minetest.net/viewtopic.php?p=141481
BitChange (money) [bitchange],Bad-Command/money2,https://forum.minetest.net/viewtopic.php?p=119415
Coloured Stone Bricks [1.0] [colouredstonebricks],CasimirKaPazi/stairsplus,https://forum.minetest.net/viewtopic.php?p=132719
Float lands [0.3.0] [flolands],iqualfragile/minetest_scripts,https://forum.minetest.net/viewtopic.php?p=73312
Generative architecture [0.1.7] [projects],paramat/catacomb,https://forum.minetest.net/viewtopic.php?p=145873
In-game skin switching [skins],sdzen/player_textures,https://forum.minetest.net/viewtopic.php?p=100894
Mod Releases • Re: [Modpack] 3D Armor [0.4.5] [minetest-3d_armor],tenplus1/inventory_plus,https://forum.minetest.net/viewtopic.php?t=4654&p=208776#p208776
More Blocks [moreblocks],qznc/famish,https://forum.minetest.net/viewtopic.php?p=86255
More Trees! [20140807] [moretrees],minetest-mods/moreblocks,https://forum.minetest.net/viewtopic.php?p=152964
Mod Releases • Re: [Mod] MoreMesecons [moremesecons],HybridDog/mesecons_teleporter,https://forum.minetest.net/viewtopic.php?t=13150&p=189301#p189301
Skins for unified_inventory [u_skins],minetest-technic/datastorage,https://forum.minetest.net/viewtopic.php?p=149190
Snow Biomes [3.2] [snow],mireq/minetest-mapper-cpp,https://forum.minetest.net/viewtopic.php?p=72254
Stats [stats],pandaro/explorer_xp,https://forum.minetest.net/viewtopic.php?p=123484
Trash Can,PilzAdam/minetest_game,https://forum.minetest.net/viewtopic.php?p=37403
WIP Mods • Re: [Mod] Fun Caves [fun_caves],tenplus1/mobs_redo,https://forum.minetest.net/viewtopic.php?t=14494&p=218728#p218728
WIP Mods • Re: [Mod] Fun Caves [fun_caves],https://bitbucket.org/kingarthursteam/teleporter/src/2646865375a8ff1ff8cd9a02712b39ccfe3ac86d/textures/?at=master,https://forum.minetest.net/viewtopic.php?t=14494&p=223177#p223177
[WIP] Terminal [0.4] [terminal],bas080/minetest-mod-digilines,https://forum.minetest.net/viewtopic.php?p=100710
Nether [nether],HybridDog/HybridTP,https://forum.minetest.net/viewtopic.php?p=150347
 

User avatar
TheReaperKing
Member
 
Posts: 493
Joined: Sun Nov 22, 2015 21:36

Re: [Tool] GUI for installing and updating mods from GitHub

by TheReaperKing » Tue Aug 30, 2016 23:40

This is awesome but is there any way to select all, or even just more than one at a time? Thanks for making this!
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com

Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com

Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
 

Morn76
Member
 
Posts: 640
Joined: Sun Feb 16, 2014 19:45
GitHub: mdoege

Re: [Tool] GUI for installing and updating mods from GitHub

by Morn76 » Wed Aug 31, 2016 04:48

@izzyb: Thanks, I'll take a look. Maybe I should also create a maintenance script that checks for duplicates on the list.

@TheReaperKing: At the moment it is not possible to select multiple entries. Clicking an item puts its address in the "selected mod" textbox on the left, which is then read when installing (so you can also type the address). So multiple selection would not work with that. But perhaps I can think of a way to make it work. Maybe selected mod(s) should be a listbox too.
 

User avatar
TheReaperKing
Member
 
Posts: 493
Joined: Sun Nov 22, 2015 21:36

Re: [Tool] GUI for installing and updating mods from GitHub

by TheReaperKing » Wed Aug 31, 2016 04:54

Hopefully it wouldn't be too much work but that'd be great!! Just with as you mentioned the over a thousand mods it will take me forever to select them all! :) Thanks for your hard work on this project. I love collecting mods so a project like this is a major blessing!
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com

Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com

Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
 

izzyb
Member
 
Posts: 21
Joined: Thu May 07, 2015 22:41

Re: [Tool] GUI for installing and updating mods from GitHub

by izzyb » Wed Aug 31, 2016 05:28

Morn76 wrote:@izzyb: Thanks, I'll take a look. Maybe I should also create a maintenance script that checks for duplicates on the list.


There are quite a number of duplicates, but most look like multiple versions of the same mod in different repositories. Not sure if they are actually different versions or not. Would be nice to get more details on each of them. I was thinking about going through and verifying if each of the mods actually work.

It'd be nice to have some additional fields to work with in the lists. I'll probably want to change or add to it, but here are some fields that'd be nice to have:

1) Type - mod, game, texture pack. I see a couple of games in the list, and have games to add. would be nice to flag them as games, not mods.
2) Version - Place for a version number. should probably have one for version of minetest needed
3) Owner - Name of repository owner to help with duplicate versions of the same mod
4) Status - WIP, development, released, old, broken, or whatever
5) popularity - some sort of like/dislike flag or favorite marker. Would be nice to have this just locally, but having a means to centralize the counts would be nice. Just having an additional .csv file that tracks your favorites would be nice - especially if it auto highlights the dependencies for you.

Also, a way to handle links for tarballs would be nice. :)

EDIT:
6) Class - Mob, tool, food, plants,etc.
 

User avatar
TheReaperKing
Member
 
Posts: 493
Joined: Sun Nov 22, 2015 21:36

Re: [Tool] GUI for installing and updating mods from GitHub

by TheReaperKing » Fri Sep 02, 2016 19:20

I noticed the same thing, sometimes the same mod name (and more importantly folder name) but a different mod author. Right at the top it has 3Dplayer and awards as examples. Perhaps especially for folders with the same name the folder could be followed by the name of the repo owner? For example awards(rubenwardy).

Also would it be possible to make it so just doing a double click on the list would download the repo?

Thank you so much for your hard work on this. I love seeing the collection of mods, makes life so much easier!

Take care.
-Mike
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com

Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com

Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
 

User avatar
TheReaperKing
Member
 
Posts: 493
Joined: Sun Nov 22, 2015 21:36

Re: [Tool] GUI for installing and updating mods from GitHub

by TheReaperKing » Fri Sep 02, 2016 19:20

Somehow double posted by accident, sorry! :)
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com

Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com

Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
 

Morn76
Member
 
Posts: 640
Joined: Sun Feb 16, 2014 19:45
GitHub: mdoege

Re: [Tool] GUI for installing and updating mods from GitHub

by Morn76 » Fri Sep 02, 2016 21:04

Thanks for the great suggestions, everyone. I'll see what I can do. :-)

TheReaperKing wrote:Also would it be possible to make it so just doing a double click on the list would download the repo?

Probably not, Tkinter is a bit limited. It can only get the active list item once in a while and check if it has changed, but a listbox doesn't really register clicks or double clicks themselves like other GUI toolkits do.

@izzyb: Adding columns to the table is possible of course. But the question is who will fill in and maintain the information? Repo type might be something you can scrape automatically, but e.g. status or version are not really something you can determine automatically.

As for ratings, I wonder if we could get them from Krock's database: http://krock-works.16mb.com/MTstuff/modSearch.php

I agree that a clear distinction between mods, games, and texture packs would be nice.

I have a nice sortable table in PySide/Qt here: https://github.com/mdoege/lightningmf , so I'm almost a bit tempted to use Qt instead of Tk. Except it would probably make things a bit difficult for Windows users. But table sorting is another one of those things that would be nice to have but are not supported by standard Tk widgets I think. Tk is nice for users because there is nothing to install, but you quickly reach its limits…
 

izzyb
Member
 
Posts: 21
Joined: Thu May 07, 2015 22:41

Re: [Tool] GUI for installing and updating mods from GitHub

by izzyb » Fri Sep 02, 2016 23:18

That Krock database looks like a nice start. Didn't know about it before. It would be nice to have a standard formate that everyone can agree on to help automate collection of data in tools like this. Something that allows the mod creators and maintainers to contribute to the data would be ideal. A simple file in the mod directory with standardized parameters for authors to include would do it. It could be used in game also, either when selecting mods, or maybe for in game help or mods that display details about a node.

Perhaps it's something everyone creating modes like this should discuss and work out an agreed format for such a document with all the fields that might be useful to each of you.

Also, perhaps adding the ability to like a mod in your app could be fed back to Krock to help automate the collection of that data.
 

Morn76
Member
 
Posts: 640
Joined: Sun Feb 16, 2014 19:45
GitHub: mdoege

Re: [Tool] GUI for installing and updating mods from GitHub

by Morn76 » Sat Sep 03, 2016 09:46

Krock's database has its own thread (viewtopic.php?f=14&t=10149), so it's hard to overlook. :-)

The problem with it is that Krock's database is not available for download and he apparently does not have any intention to cooperate with authors of other tools like mine. And I don't think there is an API either so e.g. fetching ratings would have to use HTML scraping.

So right now everyone has to do their own scraping of the forums, creating independent databases with different features. Not a great situation, but that's how it is at the moment unfortunately.
 

User avatar
TheReaperKing
Member
 
Posts: 493
Joined: Sun Nov 22, 2015 21:36

Re: [Tool] GUI for installing and updating mods from GitHub

by TheReaperKing » Sat Sep 03, 2016 12:59

Have you seen this post? Perhaps you two could work together, if nothing else for comparing mod lists:
viewtopic.php?f=14&t=13051

Also this post on the thread seems relevant too:
viewtopic.php?p=225992#p225992

Hope it helps! I appreciate your commitment to this :)
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com

Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com

Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
 

Morn76
Member
 
Posts: 640
Joined: Sun Feb 16, 2014 19:45
GitHub: mdoege

Re: [Tool] GUI for installing and updating mods from GitHub

by Morn76 » Sat Sep 03, 2016 13:34

Thanks, ReaperKing; I think Ruben Wardy's mod list looks very interesting, and at least you can download it as JSON. So he is probably a bit more open-minded than Krock regarding cooperation with other tools.

At the very least I could import his list from time to time and check that all his repos are in my list too.
 

Morn76
Member
 
Posts: 640
Joined: Sun Feb 16, 2014 19:45
GitHub: mdoege

Re: [Tool] GUI for installing and updating mods from GitHub

by Morn76 » Sun Sep 04, 2016 17:01

Ok, so in the meantime Krock has contacted me and given me access to his JSON (thanks, Krock!). I have added the missing GitHub repos from his list, so now there are (after izzyb's deletions) 1,342 mods in total.

Krock's JSON also includes up- and downvotes, so these are now displayed in the list as e.g. [+4/-2], which would mean 4 votes in favor and 2 against. Note that only 251 repos have votes, so this is a fairly small fraction right now.

Still, lots of delicious new input… :-)

Image
Last edited by Morn76 on Mon Sep 05, 2016 10:22, edited 1 time in total.
 

izzyb
Member
 
Posts: 21
Joined: Thu May 07, 2015 22:41

Re: [Tool] GUI for installing and updating mods from GitHub

by izzyb » Mon Sep 05, 2016 06:12

Awesome! I'll have to go through Krock's database and add my votes.

I have some more entries to clean up. I'm not sure which entry is causing these, but I'm getting user/password prompts when doing an update. This is the output on the console - I just hit enter for the prompts. Could you maybe output the table entry being processed on the console to help identify the entry causing errors like this. I have another one that thinks I've modified something locally. I likely have, but I don't know what mod is generating the error.

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all

Username for 'https://github.com':
Password for 'https://github.com':
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/everamzah/dmobs/'

Username for 'https://github.com':
Password for 'https://github.com':
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/captainLAD/gemsverison2.0/'

Username for 'https://github.com':
Password for 'https://github.com':
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/vitaminx/memorandum/'

Username for 'https://github.com':
Password for 'https://github.com':
remote: Repository not found.
fatal: Authentication failed for 'https://github.com/vitaminx/pizza/'

 

User avatar
TheReaperKing
Member
 
Posts: 493
Joined: Sun Nov 22, 2015 21:36

Re: [Tool] GUI for installing and updating mods from GitHub

by TheReaperKing » Mon Sep 05, 2016 06:19

They are removed/dead gits/links
Project Lead of the Doom 3 Mod Last Man Standing - http://Doom3Coop.com

Project Lead of Platinum Arts Sandbox Free 3D Game Maker - http://SandboxGameMaker.com

Youtube Channel - https://www.youtube.com/user/PlatinumArtsKids
 

Morn76
Member
 
Posts: 640
Joined: Sun Feb 16, 2014 19:45
GitHub: mdoege

Re: [Tool] GUI for installing and updating mods from GitHub

by Morn76 » Mon Sep 05, 2016 10:21

So perhaps the GUI should check if the repository still exists on GitHub before it tries to pull from it…

Update: OK, so I've added that check now. Deleted repositories should no longer be a problem.
 

izzyb
Member
 
Posts: 21
Joined: Thu May 07, 2015 22:41

Re: [Tool] GUI for installing and updating mods from GitHub

by izzyb » Mon Sep 05, 2016 21:46

Do they get purged from the local list? Maybe have a script check all the repositories before a release?

This presents a second problem. I have repositories I've downloaded using an outdated link. When I try to download the same mod using one of the remaining links, it can't because the folder already exists. I know I can manually go and delete the folder, but it'd be nice if it could prompt to replace the existing install. That'd come in handy for trying different versions of the same mod from different repositories as well.

Also, would it be possible to highlight or somehow mark the mods that are downloded?
 

PreviousNext

Return to Minetest-Related

Who is online

Users browsing this forum: No registered users and 2 guests

cron