Forum > Lazarus

We are now using GIT

<< < (4/15) > >>

PascalDragon:

--- Quote from: LacaK on July 27, 2021, 08:15:11 am ---When migration will be done can be "bugs.freepascal.org" redirected to new location on GitLab?

--- End quote ---

Once all bugs are migrated suitable redirects will be placed.

ccrause:

--- Quote from: Martin_fr on July 26, 2021, 05:42:25 pm ---yep.
Checkout both repositories.

It your github clone, add a new remote, as url use the path to your gitlab checkout.
  git remote update.

now you have both in the same local repro.


--- Code: Text  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---git rebase --reapply-cherry-picks --onto  <commit_in_new_local_gitlab>   <upstream_in_old_githup_e_g_master>  <branch_in_old_github>
Then push the rebased branch to your local gitlab clone.

--- End quote ---
Thanks for the tips Martin.  I struggled a bit with getting the rebased github branch into gitlab, but eventually got it working.


--- Quote from: DonAlfredo on July 26, 2021, 06:00:38 pm ---Another alternative way. Export all commits your are interested in as a patch. Followed by an import all patches into your new repo.
Example of export:

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---git format-patch --output-directory "../patches" --root origin --since="Dec 25, 2020"
--- End quote ---
Hi Alfred, thanks for the alternative.  Git certainly is very flexibile.

Martin_fr:

Currently offline again
More info to follow soon

Martin_fr:
Please see: https://forum.lazarus.freepascal.org/index.php?topic=55551

lucamar:
While we are at it, what will happen with the repo at:
https://svn.freepascal.org/svn/lazarus/
???

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version