-
Notifications
You must be signed in to change notification settings - Fork 259
#1268 Suspendmode #1757
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#1268 Suspendmode #1757
Conversation
…emoved it from tools.py and minor changes in app.py file.
Why did you opened a new PR? You can work on your previous PR and just add new commits to it. |
I made the most things the we talked about in the previous pull request. I created a new file named suspend.py with the suspend mode feature and removed it from tools.py file. Also made minor changes to the app.py file so as to recognise the new file (suspend.py). Unfortunately I see that it has changed some (spaces) again in the app.py file, sorry about that but I don't think that will create any problems. |
I thought you preferred a new pull request containing the new file. |
Dear Fanis, Beside of that that PR definitely won't get merged on time until 12th July 2024. There is to much work to do. Please keep in mind that a pull request is a delicate matter. We assuming 10th of thousands of users we have and who trust there backup data to that piece of software. We take this responsibility serious. That is why I ask some details about this PR you might not find very important. Also such "tiny" problems with indention are not so tiny as you might think. So please tell me if and how you want to proceed? Kind regards, |
Mister Christian, To answer your questions, I do not have any experience with the dbus so I do not know what could change so I left it the same. I have no solution for that. All I have done about this is to change the name from 'DBUS_SHUTDOW' to 'DBUS_SLEEP'. I did not answer the first time hoping I will find something. I created a new branch as you asked, named 'suspendmode'. In this PR I removed all duplicate methods and I used the already existing ones. In the function 'sleep' the main think is that firstly checks if backintime process runs ,with the 'processExists' function. I hope now it's clear what I did and also what I do not know what to do (like the dbus). If you think there are parts that will benefit Back in Time, I would be very happy if you took them and put them to good use. |
Hello Fanis,
I wouldn't phrase it like that. It can happen and also happens to me and others. But you should have fixed it immediately after I pointed you to it instead of discussing about it. It is still not fixed, isn't it?
So you copy and pasted code from the My apologize but I don't see how we can bring this RP to an mergable end. The issue behind is to complex.
I would suggest you to pick another Issue from the BIT project. I am sure we can find one. Best regards, |
codegov
…into suspendmode
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again I need to point you to our communication problem.
I tried to explain that this PR won't get merged because of several reasons. But you are going on to work in it.
You wasting your time working on this PR so I close it now.
This is my last offer. Please pick an easier Issue, read what I write, improve the communication and I will guide you.
Best,
Christian
name: Upload coverage reports to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes no sense and is far beyond the scope of this PR.
Created a new file for suspend mode named suspend.py with changes to the code that I believe snow better and more correct. I removed the suspend mode from tools.py and I made minor changes to the app.py.