bzr is online
Hello, all. As you may have heard or noticed we had a data corruption in bzr repository. We couldn't find for sure what caused it but we could recover it, Robert Millan is running regular backups. But please be careful in the future.
1) Don't use bzr-svn. The IDs won't match anyway so it's useless. I removed bzr-svn altogether
2) Don't use bzr+ssh. Old daemon on savannah is one of possible vectors. --2a format should block it but don't even try please. Use sftp://bzr.savannah.gnu.org/srv/bzr/grub/ <sftp://bzr.savannah.gnu.org/srv/bzr/grub/trunk/grub>
3) Take precautions when handling your current branches. As the IDs don't match the bzr trunk you need to migrate it anyway. If you have small number of branches and history isn't important just create a patch and apply it to new bzr branch of current trunk. If you have large number of branches or no local copy contact me privately.
4) Regularly run "bzr check" on your repository
5) Sign your commits. For this addcreate_signatures = always
to your bazaar.conf
This has double use: security and integrity.
Currentyl we haven't set up syncronisation between bzr and svn. Wait further instructions before comitting to mainstream
Signature · 2 lines
Regards Vladimir 'phcoder' Serbinenko
Quoted 21 lines · Vladimir 'phcoder' Serbinenko
Hello, all. As you may have heard or noticed we had a data corruption in bzr repository. We couldn't find for sure what caused it but we could recover it, Robert Millan is running regular backups. But please be careful in the future.
1) Don't use bzr-svn. The IDs won't match anyway so it's useless. I removed bzr-svn altogether
2) Don't use bzr+ssh. Old daemon on savannah is one of possible vectors. --2a format should block it but don't even try please. Use sftp://bzr.savannah.gnu.org/srv/bzr/grub/ <sftp://bzr.savannah.gnu.org/srv/bzr/grub/trunk/grub>
3) Take precautions when handling your current branches. As the IDs don't match the bzr trunk you need to migrate it anyway. If you have small number of branches and history isn't important just create a patch and apply it to new bzr branch of current trunk. If you have large number of branches or no local copy contact me privately.
4) Regularly run "bzr check" on your repository
5) Sign your commits. For this addcreate_signatures= always
to your bazaar.conf
This has double use: security and integrity.
Quoted 2 lines
Currentyl we haven't set up syncronisation between bzr and svn. Wait further instructions before comitting to mainstream
Hi,
I just sync my branch with main bzr repo, and find similar issue. It seems the bzr diff has bug that could cause problem with renames, for example, don't use this:
old branch:
bzr diff > aa.diff
new branch:
bzr patch aa.diff
The renamed file could get lost in the process. The only reliable way to apply patch is to export the whole tree from old branch, and add them in the new branch.
Signature · 4 lines
Bean My repository: https://launchpad.net/burg Document: https://help.ubuntu.com/community/Burg
Quoted 37 lines · Bean
Quoted 21 lines · Vladimir 'phcoder' Serbinenko
Hello, all. As you may have heard or noticed we had a data corruption in bzr repository. We couldn't find for sure what caused it but we could recover it, Robert Millan is running regular backups. But please be careful in the future.
1) Don't use bzr-svn. The IDs won't match anyway so it's useless. I removed bzr-svn altogether
2) Don't use bzr+ssh. Old daemon on savannah is one of possible vectors. --2a format should block it but don't even try please. Use sftp://bzr.savannah.gnu.org/srv/bzr/grub/ <sftp://bzr.savannah.gnu.org/srv/bzr/grub/trunk/grub>
3) Take precautions when handling your current branches. As the IDs don't match the bzr trunk you need to migrate it anyway. If you have small number of branches and history isn't important just create a patch and apply it to new bzr branch of current trunk. If you have large number of branches or no local copy contact me privately.
4) Regularly run "bzr check" on your repository
5) Sign your commits. For this addcreate_signatures= always
to your bazaar.conf
This has double use: security and integrity.Quoted 3 lines
Currentyl we haven't set up syncronisation between bzr and svn. Wait further instructions before comitting to mainstream
Hi,
I just sync my branch with main bzr repo, and find similar issue. It seems the bzr diff has bug that could cause problem with renames, for example, don't use this:
old branch:
bzr diff > aa.diff
Quoted 8 lines
new branch:
bzr patch aa.diffThe renamed file could get lost in the process. The only reliable way to apply patch is to export the whole tree from old branch, and add them in the new branch.
I don't know what exactly do you mean but the concern is safety: your approach may result in corruption to be transfered to new repo
Signature · 2 lines
Regards Vladimir 'phcoder' Serbinenko
Quoted 41 lines · Vladimir 'phcoder' Serbinenko
Quoted 40 lines · Bean
Quoted 21 lines · Vladimir 'phcoder' Serbinenko
Hello, all. As you may have heard or noticed we had a data corruption in bzr repository. We couldn't find for sure what caused it but we could recover it, Robert Millan is running regular backups. But please be careful in the future.
1) Don't use bzr-svn. The IDs won't match anyway so it's useless. I removed bzr-svn altogether
2) Don't use bzr+ssh. Old daemon on savannah is one of possible vectors. --2a format should block it but don't even try please. Use sftp://bzr.savannah.gnu.org/srv/bzr/grub/ <sftp://bzr.savannah.gnu.org/srv/bzr/grub/trunk/grub>
3) Take precautions when handling your current branches. As the IDs don't match the bzr trunk you need to migrate it anyway. If you have small number of branches and history isn't important just create a patch and apply it to new bzr branch of current trunk. If you have large number of branches or no local copy contact me privately.
4) Regularly run "bzr check" on your repository
5) Sign your commits. For this addcreate_signatures= always
to your bazaar.conf
This has double use: security and integrity.Quoted 3 lines
Currentyl we haven't set up syncronisation between bzr and svn. Wait further instructions before comitting to mainstream
Hi,
I just sync my branch with main bzr repo, and find similar issue. It seems the bzr diff has bug that could cause problem with renames, for example, don't use this:
old branch:
bzr diff > aa.diffnew branch:
bzr patch aa.diff
Quoted 7 lines
Quoted 5 lines
The renamed file could get lost in the process. The only reliable way to apply patch is to export the whole tree from old branch, and add them in the new branch.
I don't know what exactly do you mean but the concern is safety: your approach may result in corruption to be transfered to new repo
Hi,
It's very easy to verify, for example, run these commands:
bzr mv COPYING COPYING1
bzr diff > aa.diff
Output:
=== renamed file 'COPYING' => 'COPYING1'
This is obviously wrong, as neither "patch" nor "bzr patch" recognize this format, so if you apply it with:
bzr patch aa.diff
Nothing happens. Therefore, 'bzr diff' is useless to create patch file containing renames.
BTW, my bzr version is 2.0.2
Signature · 4 lines
Bean My repository: https://launchpad.net/burg Document: https://help.ubuntu.com/community/Burg
Quoted 69 lines · Bean
Quoted 43 lines · Vladimir 'phcoder' Serbinenko
Quoted 41 lines · Bean
Quoted 21 lines · Vladimir 'phcoder' Serbinenko
Hello, all. As you may have heard or noticed we had a data corruption in bzr repository. We couldn't find for sure what caused it but we could recover it, Robert Millan is running regular backups. But please be careful in the future.
1) Don't use bzr-svn. The IDs won't match anyway so it's useless. I removed bzr-svn altogether
2) Don't use bzr+ssh. Old daemon on savannah is one of possible vectors. --2a format should block it but don't even try please. Use sftp://bzr.savannah.gnu.org/srv/bzr/grub/ <sftp://bzr.savannah.gnu.org/srv/bzr/grub/trunk/grub>
3) Take precautions when handling your current branches. As the IDs don't match the bzr trunk you need to migrate it anyway. If you have small number of branches and history isn't important just create a patch and apply it to new bzr branch of current trunk. If you have large number of branches or no local copy contact me privately.
4) Regularly run "bzr check" on your repository
5) Sign your commits. For this addcreate_signatures= always
to your bazaar.conf
This has double use: security and integrity.Quoted 4 lines
Currentyl we haven't set up syncronisation between bzr and svn. Wait further instructions before comitting to mainstream
Hi,
I just sync my branch with main bzr repo, and find similar issue. It seems the bzr diff has bug that could cause problem with renames, for example, don't use this:
old branch:
bzr diff > aa.diffnew branch:
bzr patch aa.diffQuoted 9 lines
Quoted 6 lines
The renamed file could get lost in the process. The only reliable way to apply patch is to export the whole tree from old branch, and add them in the new branch.
I don't know what exactly do you mean but the concern is safety: your approach may result in corruption to be transfered to new repo
Hi,
It's very easy to verify, for example, run these commands:
bzr mv COPYING COPYING1
bzr diff > aa.diffOutput:
=== renamed file 'COPYING' => 'COPYING1'This is obviously wrong, as neither "patch" nor "bzr patch" recognize this format, so if you apply it with:
Quoted 8 lines
bzr patch aa.diff
Nothing happens. Therefore, 'bzr diff' is useless to create patch file containing renames.
BTW, my bzr version is 2.0.2
I understood this part but haven't understood what do you propose as an alternative.
(BTW feel free to report this issue to bzr mainstream)
Signature · 2 lines
Regards Vladimir 'phcoder' Serbinenko
Quoted 75 lines · Vladimir 'phcoder' Serbinenko
Quoted 74 lines · Bean
Quoted 43 lines · Vladimir 'phcoder' Serbinenko
Quoted 41 lines · Bean
Quoted 21 lines · Vladimir 'phcoder' Serbinenko
Hello, all. As you may have heard or noticed we had a data corruption in bzr repository. We couldn't find for sure what caused it but we could recover it, Robert Millan is running regular backups. But please be careful in the future.
1) Don't use bzr-svn. The IDs won't match anyway so it's useless. I removed bzr-svn altogether
2) Don't use bzr+ssh. Old daemon on savannah is one of possible vectors. --2a format should block it but don't even try please. Use sftp://bzr.savannah.gnu.org/srv/bzr/grub/ <sftp://bzr.savannah.gnu.org/srv/bzr/grub/trunk/grub>
3) Take precautions when handling your current branches. As the IDs don't match the bzr trunk you need to migrate it anyway. If you have small number of branches and history isn't important just create a patch and apply it to new bzr branch of current trunk. If you have large number of branches or no local copy contact me privately.
4) Regularly run "bzr check" on your repository
5) Sign your commits. For this addcreate_signatures= always
to your bazaar.conf
This has double use: security and integrity.Quoted 4 lines
Currentyl we haven't set up syncronisation between bzr and svn. Wait further instructions before comitting to mainstream
Hi,
I just sync my branch with main bzr repo, and find similar issue. It seems the bzr diff has bug that could cause problem with renames, for example, don't use this:
old branch:
bzr diff > aa.diffnew branch:
bzr patch aa.diffQuoted 9 lines
Quoted 6 lines
The renamed file could get lost in the process. The only reliable way to apply patch is to export the whole tree from old branch, and add them in the new branch.
I don't know what exactly do you mean but the concern is safety: your approach may result in corruption to be transfered to new repo
Hi,
It's very easy to verify, for example, run these commands:
bzr mv COPYING COPYING1
bzr diff > aa.diffOutput:
=== renamed file 'COPYING' => 'COPYING1'This is obviously wrong, as neither "patch" nor "bzr patch" recognize this format, so if you apply it with:
bzr patch aa.diff
Nothing happens. Therefore, 'bzr diff' is useless to create patch file containing renames.
Quoted 6 lines
Quoted 3 lines
BTW, my bzr version is 2.0.2
I understood this part but haven't understood what do you propose as an alternative.
(BTW feel free to report this issue to bzr mainstream)
Hi,
I use the following method to apply patches:
find a common parent for old and new branch.
move one revision up in old branch,
remove all files expect .bzr in new branch, then copy files from old branch. use bzr commit to commit in new branch, the move new branch up one revision, and it has an identical tree as old branch.
repeat the steps until all revision is synced,
Signature · 4 lines
Bean My repository: https://launchpad.net/burg Document: https://help.ubuntu.com/community/Burg
Quoted 11 lines · Bean
Hi,
I use the following method to apply patches:
find a common parent for old and new branch.
move one revision up in old branch,
remove all files expect .bzr in new branch, then copy files from old branch. use bzr commit to commit in new branch, the move new branch up one revision, and it has an identical tree as old branch.
repeat the steps until all revision is synced,
Try with bzr merge command.
Signature · 5 lines
Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."