{"push_id":3960377391,"size":17,"distinct_size":17,"ref":"refs/heads/add-handle-nested-languages-support","head":"005bb2d89a5475dd3ddb97da598249644f1f41a4","before":"b4016805926a916bfcf44161953243fc85dfac46","commits":[{"sha":"0839f0df61d2a526412e07fbb5630940a1214c94","author":{"name":"Naveenaidu","email":"3658bfb8aa09ec3c028f3e327938814b34f57f5b@gmail.com"},"message":"test-requirement.txt: Add regex\n\nRegex module is used in PyJinjaParser to\nextract the NlSections. Hence adding this\nin the test-requirement.txt","distinct":true,"url":"https://api.github.com/repos/Naveenaidu/coala/commits/0839f0df61d2a526412e07fbb5630940a1214c94"},{"sha":"262424538b7c4b18ceb1de0fcf88f853c6730c20","author":{"name":"Naveenaidu","email":"3658bfb8aa09ec3c028f3e327938814b34f57f5b@gmail.com"},"message":"requirements.txt: Add regex module\n\nRegex module is used by PyJinjaParser.","distinct":true,"url":"https://api.github.com/repos/Naveenaidu/coala/commits/262424538b7c4b18ceb1de0fcf88f853c6730c20"},{"sha":"94b0d01b941674049f842f4d5d7a60bc88b78471","author":{"name":"Naveenaidu","email":"3658bfb8aa09ec3c028f3e327938814b34f57f5b@gmail.com"},"message":"Parser.py: Add Parser.py\n\nThis PR adds the Parser class.\n\nParsers are used to seperate a nested language file into\nvarious nested language sections. Parser eats up the files\nand spits out a list of NlSection objects that is used to\nidentify which part of the file has which language.\n\nThis is a Base Class for all the parsers that would henceforth\nparse nested language files.","distinct":true,"url":"https://api.github.com/repos/Naveenaidu/coala/commits/94b0d01b941674049f842f4d5d7a60bc88b78471"},{"sha":"e46da0ca7c576567be7d04bcecca1fe9775731ae","author":{"name":"Naveenaidu","email":"3658bfb8aa09ec3c028f3e327938814b34f57f5b@gmail.com"},"message":"PyJinjaParser.py: Add PyJinjaParser\n\nThis PR adds an Parser that can parse through a nested\nlanguage file which is made up of the combination of\npython and jinja2 and gives out a list of NlSection\nObjects.","distinct":true,"url":"https://api.github.com/repos/Naveenaidu/coala/commits/e46da0ca7c576567be7d04bcecca1fe9775731ae"},{"sha":"7ff55f5e09a55a63594dfa759f120f34ffead206","author":{"name":"Naveenaidu","email":"3658bfb8aa09ec3c028f3e327938814b34f57f5b@gmail.com"},"message":"DefaultArgParser.py: Add nested language mode\n\nThis PR, adds the arguments that will be needed to\nrun coala in Nested language mode.\n\nThe new arguments added are:\n1. `--handle-nested`: Used to specify the nl mode\n2. '--language1: Tells about the languages present in nl file","distinct":true,"url":"https://api.github.com/repos/Naveenaidu/coala/commits/7ff55f5e09a55a63594dfa759f120f34ffead206"},{"sha":"ce1ae86ce7b934e74741beda42ab31a7f3d77e3f","author":{"name":"Naveenaidu","email":"3658bfb8aa09ec3c028f3e327938814b34f57f5b@gmail.com"},"message":"TestUtilities.py: Add PEP8TestBear, Jinja2TestBear\n\nAdd PEP8TestBear and Jinja2TestBear for running the\ntests on NestedLanguage files","distinct":true,"url":"https://api.github.com/repos/Naveenaidu/coala/commits/ce1ae86ce7b934e74741beda42ab31a7f3d77e3f"},{"sha":"7c561720b9571c7fe07f85253b27060854de3d68","author":{"name":"Naveenaidu","email":"3658bfb8aa09ec3c028f3e327938814b34f57f5b@gmail.com"},"message":"NlInfoExtractor: Add NlInfoExractor\n\nNlInfoExtractor is used to extract the information from\nthe arguments provide when running coala in nested language\nmode. It extracts information such:\n\n1. Name of languages\n2. Mapping of language with it's temporary files,\n3. Mapping of bear with the languages\n4. Mapping of orig_files and the temporary languages\n\nNlInfoExtractor also converts the arg_list provided into args\nthat coala can use.","distinct":true,"url":"https://api.github.com/repos/Naveenaidu/coala/commits/7c561720b9571c7fe07f85253b27060854de3d68"},{"sha":"21a153ffe5d982e49c1b9292d1f5719f5b3add8e","author":{"name":"Naveenaidu","email":"3658bfb8aa09ec3c028f3e327938814b34f57f5b@gmail.com"},"message":"NlFileHandler: Add NlFileHandler\n\nThis PR adds the NlFileHandler.\n\nNlFileHandler is reponsible to create the file dicts\nof the segreagted pure language. It is also used to\npreprocess the nl_file_dicts to add the position markers\nto the nl_file_dicts to mark the position of sections\nin the file.","distinct":true,"url":"https://api.github.com/repos/Naveenaidu/coala/commits/21a153ffe5d982e49c1b9292d1f5719f5b3add8e"},{"sha":"7df3bb96284e3f53d92706dfb0b76f9af5b08d48","author":{"name":"Naveenaidu","email":"3658bfb8aa09ec3c028f3e327938814b34f57f5b@gmail.com"},"message":"NlCliParsing: Add NlCliParsing\n\nThis PR adds the NlCliParsing.\n\nNlCliParsing is used to parse the cli arguments and use\nthe information to create cli_sections just like coala\ndoes when it receives arguments from CLI","distinct":true,"url":"https://api.github.com/repos/Naveenaidu/coala/commits/7df3bb96284e3f53d92706dfb0b76f9af5b08d48"},{"sha":"aac427624f39d69b6dd8f8c94dbf77f6c3a65b6c","author":{"name":"Naveenaidu","email":"3658bfb8aa09ec3c028f3e327938814b34f57f5b@gmail.com"},"message":"NlCore: Add NlCore\n\nThis PR adds NlCore\n\nNlCore is the main core of the entire Nested language\nArchitecture. This is the class with with the coala\ninteracts with, to access an functions of Nested language.\n\nThis is responsible for creating coala_nl_sections and\nwriting the selected patches by the user to the original\nfile.\n\nThe coverage was failing for `test_apply_patches_to_nl_file` because\nshutil was not being to find the file. This PR mocks the\n`write_patches_to_orig_nl_file` function of NlCore.","distinct":true,"url":"https://api.github.com/repos/Naveenaidu/coala/commits/aac427624f39d69b6dd8f8c94dbf77f6c3a65b6c"},{"sha":"aadd677a5cf6724a37c00f1a556987b9e246a920","author":{"name":"Naveenaidu","email":"3658bfb8aa09ec3c028f3e327938814b34f57f5b@gmail.com"},"message":"coala_main: Add NestedLanguage Support\n\nThis PR adds the support for nested language mode.\nThe patches selected by the user in nested language\nmode is now passed onto NlCore to replace the old\ncontent of the original nested language file with\nthe patched version.\n\ncoalaTest - Add tests for Nl Mode","distinct":true,"url":"https://api.github.com/repos/Naveenaidu/coala/commits/aadd677a5cf6724a37c00f1a556987b9e246a920"},{"sha":"d1c80851b269e82154c241efee7511fc9f75d7dc","author":{"name":"Naveenaidu","email":"3658bfb8aa09ec3c028f3e327938814b34f57f5b@gmail.com"},"message":"ConsoleInteraction: Add support for Nested langs\n\nThis PR adds the support for nested languages mode in\nConsoleInteraction.py. The function have been updated\nto pass the nl_file_dict where the patches chosen by\nthe user will be applied.\n\nWe have also disabled printing the affected files in\nNested Language Mode, since we do not physically have\nthese files in the system.","distinct":true,"url":"https://api.github.com/repos/Naveenaidu/coala/commits/d1c80851b269e82154c241efee7511fc9f75d7dc"},{"sha":"c70a13f46946349b658a6555760fb781b753e116","author":{"name":"Naveenaidu","email":"3658bfb8aa09ec3c028f3e327938814b34f57f5b@gmail.com"},"message":"Processing.py: Add Support for Nested lang mode\n\nThis PR adds the support for nested language mode. It\nallows creation of new nl_sections when the Nested language\nmode is run.\n\nDuring the execution of instantiate_processes, we get the\nfile_dict of the temporary files from the nested lang parsers\ninstead of fetching it from the physical file.","distinct":true,"url":"https://api.github.com/repos/Naveenaidu/coala/commits/c70a13f46946349b658a6555760fb781b753e116"},{"sha":"9749c4b17dea85f13551e5da696df29799595da6","author":{"name":"Naveenaidu","email":"3658bfb8aa09ec3c028f3e327938814b34f57f5b@gmail.com"},"message":"ConfigurationGathering: Add Nested Language mode\n\nThis PR adds the support for the nested Language mode\nin Configuration Gathering. Parse the cli arguments passed\nto coala in Nested language mode and create coala sections.","distinct":true,"url":"https://api.github.com/repos/Naveenaidu/coala/commits/9749c4b17dea85f13551e5da696df29799595da6"},{"sha":"43928ef5bff2e48aa5b7450464cbbb265de8974f","author":{"name":"Naveenaidu","email":"3658bfb8aa09ec3c028f3e327938814b34f57f5b@gmail.com"},"message":"result_action: Add Nested Lang support\n\nThe ResultAction and the various actions for result\nis updated to support Nested Language mode. The API\ncalls have been updates with an extra argument called\nas `nl_file_dict`. It is to this dicitionary that the\nresult actions will be applying the changes that the\nuser decides to apply","distinct":true,"url":"https://api.github.com/repos/Naveenaidu/coala/commits/43928ef5bff2e48aa5b7450464cbbb265de8974f"},{"sha":"9155200f2f792ec2480dc5534c9c382330b01445","author":{"name":"Naveenaidu","email":"3658bfb8aa09ec3c028f3e327938814b34f57f5b@gmail.com"},"message":"nestedlib/test_files: Add sample files for testing","distinct":true,"url":"https://api.github.com/repos/Naveenaidu/coala/commits/9155200f2f792ec2480dc5534c9c382330b01445"},{"sha":"005bb2d89a5475dd3ddb97da598249644f1f41a4","author":{"name":"Naveenaidu","email":"3658bfb8aa09ec3c028f3e327938814b34f57f5b@gmail.com"},"message":"Fix the coverage\n\nRename a test file in `section_executor_test_files/test.py`\nto `test.py.txt`. Having a `py` extension makes pytest\nimport the module when it shouldn't. This PR fixes it.","distinct":true,"url":"https://api.github.com/repos/Naveenaidu/coala/commits/005bb2d89a5475dd3ddb97da598249644f1f41a4"}]}
{"actor":{"display_login":"Naveenaidu"}}