To be fair, > The meaning of upgrade is old features should work as it is
This is why semantic versioning is a thing - the significance of updating the major version number implies backwards compatibility. Obviously all projects implement this differently, but in my case, 2.x definitely meant a rewrite. We may add compatibility layers in the future to help people migrate (certainly, we'll keep adding convenience features on top of the new API, so that the migration is at least easier even if not drop-in) but I'd definitely suggest updating how you deploy software to prevent upgrading major versions until you've the time to make large changes. On Fri, Sep 11, 2020 at 12:37 PM Nikunj Mistry <[email protected]> wrote: > Dear jeff, > > Thanks for your mail. What I mean is the workflow of software has changed > totally. The meaning of upgrade is old features should work as it is and > new features should be added. But in Fabric 2 my old fab file is not > working. Below is my fab file example for your reference. > > > fabfile example: > > #from fabric.api import * > > #env[root@host1, root@host2, root@host3:2022, root@host4, root@host5, > root@host6] > > #def ds(): > # run('df -h') > > I used to run this from my terminal like > > $ fab ds > disk_space.txt > > $ Enter your password : > > Now this is not working. I checked some youtube videos about new fabric2 > tutorials. > > > But i am not satisfied with the result fabric 1 was best. > > > Now i am using parallel-ssh > > > > > Regards > Nikunj > > > > > > On Fri, Sep 11, 2020 at 9:47 PM Jeff Forcier <[email protected]> wrote: > >> Nikunj, >> >> Can you provide some details about how Fabric 2 isn't working properly? >> The complication angle is known - we haven't gotten it up to par with >> Fabric 1 yet in that regard but plan to. But if there are places where the >> basic use case of running a remote command is broken, that would be good to >> know! >> >> Thanks, >> Jeff >> >> On Fri, Sep 11, 2020 at 11:02 AM Brandon Whaley <[email protected]> >> wrote: >> >>> `pip install fabric==1.14` to install the last version of fabric 1. >>> If you're using Python 3 you need to either upgrade your fabfile to >>> fabric2 syntax or for now try to use the fabric3 side project. >>> >>> On Fri, Sep 11, 2020 at 10:30 AM Nikunj Mistry <[email protected]> >>> wrote: >>> > >>> > Dear fabric team, >>> > >>> > I am fabric 1 user for my daily task. Since fabric2 update i am unable >>> to peform the same task >>> > >>> > I am system admin on daily basis i need to ssh multiple servers to >>> check disk space >>> > >>> > >>> > Now in fabric2 things have got too complicated and not working properly >>> > >>> >>> >> >> -- >> Jeff Forcier >> Unix sysadmin; Python engineer >> http://bitprophet.org >> > > > -- > Regards, > > Nikunj Mistry > -- Jeff Forcier Unix sysadmin; Python engineer http://bitprophet.org
