Skip to content
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

Check old TODO entries #1311

Closed
buhtz opened this issue Sep 26, 2022 · 7 comments
Closed

Check old TODO entries #1311

buhtz opened this issue Sep 26, 2022 · 7 comments
Assignees
Labels
Discussion decision or consensus needed Meta
Milestone

Comments

@buhtz
Copy link
Member

buhtz commented Sep 26, 2022

I found a TODO file in the repo which last commit was 6 years ago. That was the content:

TODO:
* use rsync return code to check that the snapshot was really taken (no out of space, copy error ...)
* uid/gid translate table with 'Full rsync mode'
* grep DBUS_SESSION_BUS_ADDRESS from session-managers environ (https://github.com/bit-team/backintime/issues/723)

We need to check this points if they are still relevant.

Tag: Meta, Discussion

emtiu added a commit that referenced this issue Sep 26, 2022
Remove TODO file now present in #1311
@aryoda
Copy link
Contributor

aryoda commented Oct 2, 2022

Let me confess that I have just sent a PR with new TODO comments during my "code review" to document undocumented code parts ;-)

Normally I would treat code with TODO comments as a reason to reject a PR...

@emtiu
Copy link
Member

emtiu commented Oct 3, 2022

You're forgiven this one time ;)

@buhtz
Copy link
Member Author

buhtz commented Oct 3, 2022

Let me confess that I have just sent a PR with new TODO comments

🤣 I don't have problems with that. This PR here is not about in-code TODO comments but just about a single TODO file in the repo itself.

@emtiu emtiu added Meta Discussion decision or consensus needed labels Oct 7, 2022
@buhtz buhtz added this to the 1.3.4 milestone Feb 19, 2023
@buhtz
Copy link
Member Author

buhtz commented Apr 5, 2023

  • uid/gid translate table with 'Full rsync mode'

Dear @Germar ,

do you have an idea what this point is about?

@buhtz buhtz self-assigned this Apr 5, 2023
@Germar
Copy link
Member

Germar commented Apr 5, 2023

Filesystems always store the uid and gid for a file. Not the user/groupname. uid/gid are enumerate by the time of creating each user/group. So if you have an old machine with user foo=uid1000 and user bar=uid1001 and you build a new machine but this time you create user bar first, you'll end up with user foo=uid1001 and user bar=uid1000. If you now restore your files (with BiT root) foo can't access his files but all the files from bar...

@buhtz
Copy link
Member Author

buhtz commented Apr 6, 2023

Thanks for explaining.

So this TODO entry could be treated as a feature request. Am I right so far?

@buhtz
Copy link
Member Author

buhtz commented May 6, 2023

  • use rsync return code to check that the snapshot was really taken (no out of space, copy error ...)

Covered by issue #489

  • uid/gid translate table with 'Full rsync mode'

Covered by issue #1434.

Covered by issue #770 (see comment)

@buhtz buhtz closed this as completed May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion decision or consensus needed Meta
Projects
None yet
Development

No branches or pull requests

4 participants