{"push_id":1473985281,"size":2,"distinct_size":2,"ref":"refs/heads/allow-pyc-discovery","head":"d568dfa460e10c65edb3e77b64629e0258b8ef6c","before":"e4dc0ef0bc2e83af272092f6dfb9646be53a81f0","commits":[{"sha":"f1717533ddcbb65ef7010c8e69dba2466408c90c","author":{"name":"Ray Chen","email":"e1648edc3143b96d550b4e4aa7c29dce5813f06d@gmail.com"},"message":"Add a test class for fabfile finding\n\nThis newly-added class is mainly for Fabric's fabfile discovery\nmechanism testing.\n\nWhile it may be expanded in the future, initially it only contains\nthree package-discovery related tests.","distinct":true,"url":"https://api.github.com/repos/oldsharp/fabric-fabric/commits/f1717533ddcbb65ef7010c8e69dba2466408c90c"},{"sha":"d568dfa460e10c65edb3e77b64629e0258b8ef6c","author":{"name":"Ray Chen","email":"e1648edc3143b96d550b4e4aa7c29dce5813f06d@gmail.com"},"message":"Fabfile discovery: loading package with *.pyc only\n\nAs the doc (sites/docs/usage/fabfiles.rst, in \"Fabfile discovery\")\nsays, Fabric is capable of loading Python modules (e.g. fabfile.py) or\npackages (e.g. a fabfile/ directory containing an __init__.py).\nStarting from version 0.9.2, Fabric has been capable of loading package\nfabfiles.\n\nHowever, Fabric's fabfile discovery algorithm only treats directories\nwith an __init__.py file in them as legal Python packages.  It refuse\nto load any directories with an __init__.pyc file only (without\n__init__.py) in them, which are also legal Python packages.\n\nFabric's current fabfile discovery algorithm works well for most cases.\nBut in some cases, for example, suppose someone would like to release a\ntool, which consist of several Fabric tasks, in such a format that it\nonly contains *.pyc files, i.e. he/she does not want to release the\nsource code at all.  In such a case, users could run into trouble since\nFabric refuse to load packages which only have an __init__.pyc in them.\n\nThis commit gives Fabric the ability to load package fabfiles with\n__init__.pyc file only.\n\nThis resolves #1427.","distinct":true,"url":"https://api.github.com/repos/oldsharp/fabric-fabric/commits/d568dfa460e10c65edb3e77b64629e0258b8ef6c"}]}
{"actor":{"display_login":"oldsharp"}}