Commit Graph
100 Commits
Author SHA1 Message Date
isanae 2a420c406b fixed back checks of find() 2020-12-03 17:45:36 -05:00
isanae 8aba320723 commenting tasks
removing private static functions, useless
2020-12-03 17:45:36 -05:00
isanae 779192e84a never ending refactoring and comments 2020-12-03 17:45:36 -05:00
isanae 8272db8233 made threaded_run() private, everything should use parallel()
comments
2020-12-03 17:45:35 -05:00
isanae 01797282c4 made super an alias
removed alternate name modorganizer-Installer so it's not considered a super task
2020-12-03 17:45:35 -05:00
isanae c89c5268e1 merged 'Revert "Moving things around"' pr 2020-12-03 17:45:35 -05:00
isanae 5e64f08418 moved glob_match into task, was only used there
some optimizations for matching task names, regex is so slow
fixed deadlock in git_submodule_adder, removing instrumentation also removed a critical scope for the lock object
simplified parallel_tasks, doesn't need all that stuff
moved translations to its own step for now, parallel_tasks doesn't support having both super and non-super tasks
moved add_tasks() inside try/catch, can bail out
2020-12-03 17:45:35 -05:00
isanae c991239088 merged task_conf_holder into conf_task, redundant
moved make_git() and make_git_url() into task for now
2020-12-03 17:45:35 -05:00
isanae 50d5c649f8 refactored task_manager, comments
moved glob matching to task::name_matches()
2020-12-03 17:45:35 -05:00
isanae e49735d4ff task_manager 2020-12-03 17:45:35 -05:00
isanae 1872fc90f6 renamed to g_top_level_tasks
removed is_super_task(), not needed
2020-12-03 17:45:34 -05:00
isanae 6797af26c7 removed super flag for parallel_tasks, uses the first child 2020-12-03 17:45:34 -05:00
isanae 6f40196f3f rebase 2020-12-03 17:45:34 -05:00
isanae a8561e57bc removed instrumentation 2020-12-03 17:45:34 -05:00
isanae 9ca0fd52a2 comments, some refactoring in patcher and msbuild 2020-12-03 17:45:34 -05:00
isanae 51a7852aba comments
refactored do_download() into use_existing() and try_download()
2020-12-03 17:45:34 -05:00
isanae 7d692430be simplified basic_process_runner yet again
doesn't need to copy the process at all
changed execute_and_join() to take the process instead of a two step with set_process
more comments
2020-12-03 17:45:34 -05:00
isanae d6db197a6d split python tool, comments
simplified process_runner
renamed git_tool to git_wrap, it's just too confusing to have git that's a tool and a git_tool that's not a tool
2020-12-03 17:45:33 -05:00
isanae 36fbf69a10 git <-> git_tool 2020-12-03 17:45:33 -05:00
isanae 0d69bb4b72 fixed set_remote() trying to get the git file after renaming
fixed basic_process_runner copying the process
fixed nulls in log, string was moved
don't log process' stderr twice
SO with bad format strings
can't check path prefix for master, doesn't exist yet
2020-12-03 17:45:33 -05:00
isanae 8f2047b055 refactored git into git and git_tool 2020-12-03 17:45:33 -05:00
isanae 2e8d6ce146 moved all git process creation to free functions 2020-12-03 17:45:33 -05:00
isanae 33f9cca263 split cmake.h, msbuild.h 2020-12-03 17:45:33 -05:00
isanae abf8bb94cc split git.h 2020-12-03 17:45:33 -05:00
isanae d94ce21204 removed conf::dry
refactor, comments
2020-12-03 17:45:33 -05:00
isanae f2e81f5335 removed use_prebuilt(), not useful
fixed inis found in both env and cwd being processed twice
refactored conf, now using two maps
2020-12-03 17:45:32 -05:00
isanae e9acdb3c0b paths refactoring, comments 2020-12-03 17:45:32 -05:00
isanae 54c4fb313d split paths 2020-12-03 17:45:32 -05:00
isanae ca1cd358bb ini parsing doesn't set options anymore, it returns a structure
moved a lot of stuff back to conf, didn't belong in ini
2020-12-03 17:45:32 -05:00
isanae aa8efaa515 split ini 2020-12-03 17:45:32 -05:00
isanae f54b879698 conf_task 2020-12-03 17:45:32 -05:00
isanae 1a5fc17678 conf_tool 2020-12-03 17:45:32 -05:00
isanae 72000ac691 renamed conf::paths() to conf::path()
conf_version
2020-12-03 17:45:31 -05:00
isanae 26b6e2aa78 moved more global stuff to conf_global 2020-12-03 17:45:31 -05:00
isanae fb9cca0d1a moved log levels and dry to conf_global 2020-12-03 17:45:31 -05:00
isanae de4ad45f5b removed path_by_name()
added missing vs and qt paths
2020-12-03 17:45:31 -05:00
isanae 616524422d conf_paths 2020-12-03 17:45:31 -05:00
isanae e0c455fc1d added conf_prebuilt and conf_transifex
replaced a few std::string by std::string_view, old habits die hard
2020-12-03 17:44:53 -05:00
isanae 05d46a4d73 refactored context, comments 2020-12-03 17:44:53 -05:00
isanae fd627f7a05 removed remnants of old global logging 2020-12-03 17:44:53 -05:00
isanae 7b28df2939 fix git_submodule_adder not catching bailed exceptions 2020-12-03 17:44:53 -05:00
isanae d87b662119 fixed process, the pipes can be empty now if they're not required
comments
2020-12-03 17:44:53 -05:00
isanae dbbee9a1d9 comments
moved unsafe flag check to check()
2020-12-03 17:44:52 -05:00
isanae b9d4c9e4ab moved stuff around 2020-12-03 17:44:52 -05:00
isanae 5b67d037d6 refactored do_run(), comments 2020-12-03 17:44:52 -05:00
isanae 7141859cb2 removed stdin_handle, not necessary
documentation
2020-12-03 17:44:52 -05:00
isanae 2f4cd56276 moved tasks to tasks namespace
added python tool
2020-12-03 17:44:52 -05:00
isanae faaeacedb1 moved download to sip tool 2020-12-03 17:44:52 -05:00
isanae 98682a1da3 renamed pip_install tool to just pip, move all the pip stuff to it
filter out annoying ensurepip messages
2020-12-03 17:44:52 -05:00
isanae f02815461c moving process creation to tools: added archiver and vswhere 2020-12-03 17:44:52 -05:00
isanae b54652a617 stopped including process.h in tools.h, it's included everywhere
replaced by unique_ptr, added get_process() and set_process()
2020-12-03 17:44:51 -05:00
isanae 083a4fb8d8 moved a bunch of member variables into structs 2020-12-03 17:44:51 -05:00
isanae 6c3baddf9b added git branch 2020-12-03 17:44:51 -05:00
isanae 3b99b50d76 renamed stdout_/stdin_ to pipe_ 2020-12-03 17:44:51 -05:00
isanae 61204778bf don't close the stdin pipe automatically, make the caller call close()
documentation
2020-12-03 17:44:51 -05:00
isanae 21da94a871 stopped duplicating the pipe handle, it's not necessary
no need to inherit the pipe handle itself, just the write end of it
refactoring, documentation
2020-12-03 17:44:51 -05:00
isanae 131c82b5c1 encoded_buffer documentation
split async_pipe into stdout and stdin, there's nothing in common
2020-12-03 17:44:51 -05:00
isanae 72a31c1842 moved encoded_buffer to string.h 2020-12-03 17:44:51 -05:00
isanae ef332f0330 split pipe 2020-12-03 17:44:50 -05:00
isanae 5780cce87c Merge pull request #66 from ModOrganizer2/revert-54-master
Revert "Moving things around"
2020-11-27 07:47:34 -05:00
isanae 986f9b7ba4 Revert "Moving things around" 2020-11-27 07:38:50 -05:00
isanae e77bfe8e63 Merge pull request #64 from Holt59/fix-build-for-nugets
Add flags for plugins using nuget package
2020-11-27 06:14:24 -05:00
isanae 52807e7912 Merge pull request #65 from Holt59/add-installer-wizard
Add installer_wizard task.
2020-11-27 06:14:15 -05:00
isanae bedd4e79c0 Update readme.md 2020-11-19 19:31:13 -05:00
isanae fa39aca410 Update readme.md 2020-11-19 19:30:32 -05:00
isanae 695aac556c Merge pull request #63 from isanae/master
Missing PRs from search
2020-11-16 14:51:29 -05:00
isanae a5ea7d74d5 added per_page for pr search, was limited to 30 2020-11-16 14:50:27 -05:00
isanae aaca69d52b Merge pull request #54 from Qudix/master
Moving things around
2020-11-14 06:55:10 -05:00
isanae b235120c0d Merge pull request #62 from isanae/pr
pr command
2020-11-13 23:23:57 -05:00
isanae 1221556de7 removed debug files stuff
added github_key to ini
2020-11-13 22:09:14 -05:00
isanae 7614e3a17b pr: documentation, revert 2020-11-13 21:39:58 -05:00
isanae 9f045f7329 refactored 2020-11-13 21:30:44 -05:00
isanae 2a4f4bd8fa finished implementing pr 2020-11-13 21:23:10 -05:00
isanae 362af83c86 pr: removed all the crap, a pr can be fetched with just pull/pr/head 2020-11-13 19:24:23 -05:00
isanae cd811419cb added git fetch and checkout
fixed has_remote trying to fetch stuff
pr: implemented remote method
2020-11-13 18:32:28 -05:00
isanae 21b6a383d7 silence git apply whitespace warning
cleaned up options for pr
2020-11-12 19:25:52 -05:00
isanae a1c9e78432 split to dedicated pr command 2020-11-12 19:10:05 -05:00
isanae 7f374ee982 working on --pr
added stdin for process
added json third party
curl_downloader to string
2020-11-12 19:02:36 -05:00
isanae 747553e3ba Merge pull request #60 from isanae/master
Infinite loop without an ini somewhere in the parent path
2020-11-11 13:24:37 -05:00
isanae 828765b29c broken parent check, parent_path() returns *this when on the root 2020-11-11 01:45:37 -05:00
isanae 47b91c134e Merge pull request #59 from isanae/master
Make sure directory exists when creating log file
2020-11-10 12:21:56 -05:00
isanae e5337be5bf make sure directory exists when creating log file 2020-11-10 12:21:10 -05:00
isanae bc6a3c3a69 Merge pull request #58 from isanae/refactor
Refactor, part 1
2020-11-09 04:09:17 -05:00
isanae 1876b9168f some refactoring in release_command::do_official()
comments
2020-11-09 04:05:38 -05:00
isanae 60e02da1d4 renamed master_ini_filename() to default_ini_filename()
it's also used for the anchor dropped in the prefix
2020-11-09 03:43:37 -05:00
isanae cfa796fb41 manual merge after rebase 2020-11-09 03:30:47 -05:00
isanae cb501a2891 comments 2020-11-09 03:29:13 -05:00
isanae 63dba60f39 split some commands 2020-11-09 03:29:13 -05:00
isanae 7acf536d2c moved commands to cmd/ 2020-11-09 03:28:50 -05:00
isanae 10f71ce53d comments 2020-11-09 03:28:49 -05:00
isanae 955cfd2ada split to assert.cpp
comments
2020-11-09 03:28:49 -05:00
isanae e78976b03c split algo, io 2020-11-09 03:28:49 -05:00
isanae 878198118f split fs utility 2020-11-09 03:28:49 -05:00
isanae bb3392546a split string stuff and assert 2020-11-09 03:28:49 -05:00
isanae 1bbd34285a split threading 2020-11-09 03:28:49 -05:00
isanae 946a5e9c40 moved stuff to core/ 2020-11-09 03:28:49 -05:00
isanae c728ed1a02 comments 2020-11-09 03:28:48 -05:00
isanae 991e94a986 removed useless command_groups
moved signal handlers to commands, it's only used in there
2020-11-09 03:28:48 -05:00
isanae f28c4b416c moved font_restorer to utilities
moved add_tasks() on top
2020-11-09 03:28:48 -05:00
isanae c98e3c7895 Merge pull request #57 from isanae/master
Log file relative to prefix
2020-11-09 03:28:18 -05:00