{"action":"created","issue":{"url":"https://api.github.com/repos/txt2tags/txt2tags/issues/190","labels_url":"https://api.github.com/repos/txt2tags/txt2tags/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/txt2tags/txt2tags/issues/190/comments","events_url":"https://api.github.com/repos/txt2tags/txt2tags/issues/190/events","html_url":"https://github.com/txt2tags/txt2tags/issues/190","id":77637896,"number":190,"title":"Maintain only one txt2tags version","user":{"login":"jendrikseipp","id":213955,"avatar_url":"https://avatars.githubusercontent.com/u/213955?v=3","gravatar_id":"","url":"https://api.github.com/users/jendrikseipp","html_url":"https://github.com/jendrikseipp","followers_url":"https://api.github.com/users/jendrikseipp/followers","following_url":"https://api.github.com/users/jendrikseipp/following{/other_user}","gists_url":"https://api.github.com/users/jendrikseipp/gists{/gist_id}","starred_url":"https://api.github.com/users/jendrikseipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jendrikseipp/subscriptions","organizations_url":"https://api.github.com/users/jendrikseipp/orgs","repos_url":"https://api.github.com/users/jendrikseipp/repos","events_url":"https://api.github.com/users/jendrikseipp/events{/privacy}","received_events_url":"https://api.github.com/users/jendrikseipp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-05-18T12:29:48Z","updated_at":"2015-07-06T18:24:39Z","closed_at":null,"body":"[I originally posted this to the mailing list, but the message is probably held there.]\r\n\r\nI think it is very unfortunate that there are two txt2tags versions in the repository at the moment, the original single-file txt2tags and the modular txt2tagslite. If we want to move the code forward, fix bugs and add features, we will have to decide on a single version. Maintaining two separate versions is just too much work.\r\n\r\nPersonally, I believe that the code complexity has grown too much for everything to be in one file. We will have to split up the code, make it modular and therefore easier to understand, change and extend. Txt2tagslite has done the first steps in the right direction, in my opinion. If we decide to stick with it we can use it to move even more code from the main file into the target modules.\r\n\r\nHaving only one file has little to no benefit, whereas organized code in submodules can greatly simplify the development. Therefore, I vote to only keep txt2tagslite in the codebase (and rename it to txt2tags). \r\n\r\nWhat are your thoughts?"},"comment":{"url":"https://api.github.com/repos/txt2tags/txt2tags/issues/comments/118946462","html_url":"https://github.com/txt2tags/txt2tags/issues/190#issuecomment-118946462","issue_url":"https://api.github.com/repos/txt2tags/txt2tags/issues/190","id":118946462,"user":{"login":"jendrikseipp","id":213955,"avatar_url":"https://avatars.githubusercontent.com/u/213955?v=3","gravatar_id":"","url":"https://api.github.com/users/jendrikseipp","html_url":"https://github.com/jendrikseipp","followers_url":"https://api.github.com/users/jendrikseipp/followers","following_url":"https://api.github.com/users/jendrikseipp/following{/other_user}","gists_url":"https://api.github.com/users/jendrikseipp/gists{/gist_id}","starred_url":"https://api.github.com/users/jendrikseipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jendrikseipp/subscriptions","organizations_url":"https://api.github.com/users/jendrikseipp/orgs","repos_url":"https://api.github.com/users/jendrikseipp/repos","events_url":"https://api.github.com/users/jendrikseipp/events{/privacy}","received_events_url":"https://api.github.com/users/jendrikseipp/received_events","type":"User","site_admin":false},"created_at":"2015-07-06T18:24:39Z","updated_at":"2015-07-06T18:24:39Z","body":"I just found out about an interesting Python feature: zip applications. You can package python files in a zip file (called e.g. myzipfile.pyz) and run it with `python myzipfile.pyz`. This feature is exactly what we need: we can give users a single executable file and use multiple files for development.\r\n\r\nThe feature has been present since Python 2.6, but is probably getting more traction now that Python 3.5 offers a module for creating zip apps. They can, however, also be built manually without this new module.\r\n\r\nhttps://docs.python.org/dev/library/zipapp.html#the-python-zip-application-archive-format\r\n\r\nIn light of this, I propose to only keep the current txt2tagslite implementation as soon as possible. We should not wait until a new version is released, because we need to fix bugs and tests now. Can I prepare a pull request, Aurélio? Everyone else should check that txt2tagslite really is up to par with txt2tags."}}