Recent

Author Topic: Using FPC domain for Gitlab  (Read 4631 times)

Okoba

  • Hero Member
  • *****
  • Posts: 555
Using FPC domain for Gitlab
« on: March 18, 2023, 06:10:11 pm »
Hello,

I guess this is already an examined case, but I wanted to make sure, as many services, even open ones like GitLab or Docker, are changing and limiting many free features even for open source projects.
I would like to suggest that instead of using the GitLab domain, it may be better to use the FPC domain. This way, if in the future the team chooses to move to a self hosted GitLab version, the posts, links, and many messages will continue to work.

Please feel free to ignore, if this is not possible or not needed.

Bi0T1N

  • Jr. Member
  • **
  • Posts: 85
Re: Using FPC domain for Gitlab
« Reply #1 on: March 18, 2023, 08:58:01 pm »
I guess this is already an examined case, but I wanted to make sure, as many services, even open ones like GitLab or Docker, are changing and limiting many free features even for open source projects.
I haven't read anything about GitLab wanting to restrict their program for open source projects. If they do, there are enough other places (smaller and larger ones) so that it would be counterproductive for them because less new employees will be familiar with the UI of GitLab (=less companies deciding for it).
Docker still has its sponsor program for open source so we just need to hope that they accept our application ;)
If not, there is still the GitLab registry and probably some others. :P

Okoba

  • Hero Member
  • *****
  • Posts: 555
Re: Using FPC domain for Gitlab
« Reply #2 on: March 19, 2023, 08:52:50 am »
That was not my point. My point was, using FPC domain for repositories, so later on IF, anything changed, all these posts, don't get deprecated.

ccrause

  • Hero Member
  • *****
  • Posts: 970
Re: Using FPC domain for Gitlab
« Reply #3 on: March 19, 2023, 11:35:35 am »
I haven't read anything about GitLab wanting to restrict their program for open source projects. If they do, there are enough other places (smaller and larger ones) so that it would be counterproductive for them because less new employees will be familiar with the UI of GitLab (=less companies deciding for it).
Well, my fork of FPC source is no longer updated automatically by Gitlab, here is the message I received:
Quote
Your project is no longer receiving GitLab Ultimate benefits as of 2022-07-01. As notified in-app previously, public open source projects on the Free tier can apply to the GitLab for Open Source Program to receive GitLab Ultimate benefits. Please refer to the FAQ for more details.
More hoops to jump through.  But this is just a personal inconvenience which can be handled by running a git command on my local git clone to sync between upstream and my fork.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11941
  • FPC developer.
Re: Using FPC domain for Gitlab
« Reply #4 on: March 19, 2023, 11:46:05 am »
If a new gitlab instance is set up, while the hashes might remain the same, things like projectid etc might change, invalidating URLs

Okoba

  • Hero Member
  • *****
  • Posts: 555
Re: Using FPC domain for Gitlab
« Reply #5 on: March 19, 2023, 11:58:06 am »
Thank you marcov for clarifying.

Bi0T1N

  • Jr. Member
  • **
  • Posts: 85
Re: Using FPC domain for Gitlab
« Reply #6 on: March 21, 2023, 04:22:30 pm »
I haven't read anything about GitLab wanting to restrict their program for open source projects. If they do, there are enough other places (smaller and larger ones) so that it would be counterproductive for them because less new employees will be familiar with the UI of GitLab (=less companies deciding for it).
Well, my fork of FPC source is no longer updated automatically by Gitlab, here is the message I received:
Quote
Your project is no longer receiving GitLab Ultimate benefits as of 2022-07-01. As notified in-app previously, public open source projects on the Free tier can apply to the GitLab for Open Source Program to receive GitLab Ultimate benefits. Please refer to the FAQ for more details.
More hoops to jump through.  But this is just a personal inconvenience which can be handled by running a git command on my local git clone to sync between upstream and my fork.

No issues on my fork. Mirroring repositories works fine and keeps it up to date automatically.

Fred vS

  • Hero Member
  • *****
  • Posts: 3412
    • StrumPract is the musicians best friend
Re: Using FPC domain for Gitlab
« Reply #7 on: March 21, 2023, 06:07:46 pm »
You may also do mirror to CodeBerg:

After a push to my GitHub account:
Code: Bash  [Select][+][-]
  1. git push --all

A automatic mirroring is done by GitLab (mirroring feature) and for CodeBerg, I do this:
Code: Bash  [Select][+][-]
  1. git push --mirror https://codeberg.org/fredvs/uos

So the code is synchro in GitHub, GitLab and CodeBerg ( in case of revolution, maybe one will resist  :-X ).
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10553
  • Debugger - SynEdit - and more
    • wiki
Re: Using FPC domain for Gitlab
« Reply #8 on: March 21, 2023, 06:53:42 pm »
Well we also have a mirror here: https://sourceforge.net/p/lazarus/laz.git/

ccrause

  • Hero Member
  • *****
  • Posts: 970
Re: Using FPC domain for Gitlab
« Reply #9 on: March 21, 2023, 06:57:38 pm »
No issues on my fork. Mirroring repositories works fine and keeps it up to date automatically.
The mirroring on my Lazarus fork is updating automatically, even though my FPC fork is not.  When I want to set up a new repository mirror in Gitlab, the Mirror direction option is disabled with a default of push.  So it seems impossible to create a new mirror option that pulls, at least on the free tier (or whatever the default tier is called) now.  I think mirroring configured before the new rule was implemented still works.

ccrause

  • Hero Member
  • *****
  • Posts: 970
Re: Using FPC domain for Gitlab
« Reply #10 on: March 21, 2023, 07:03:57 pm »
Well we also have a mirror here: https://sourceforge.net/p/lazarus/laz.git/
It is easy to create a merge request from a Gitlab mirror to the upstream Gitlab repository. I'm trying to use some of Gitlab's features to automate the mirroring, which now seems to be reserved for a higher tier.

Joanna from IRC

  • Hero Member
  • *****
  • Posts: 1213
Re: Using FPC domain for Gitlab
« Reply #11 on: March 22, 2023, 01:38:14 am »
Hello,

I guess this is already an examined case, but I wanted to make sure, as many services, even open ones like GitLab or Docker, are changing and limiting many free features even for open source projects.
I would like to suggest that instead of using the GitLab domain, it may be better to use the FPC domain. This way, if in the future the team chooses to move to a self hosted GitLab version, the posts, links, and many messages will continue to work.
I agree with this sentiment...
What would be involved on the technical side to not rely on third party websites to host repositories ?
Is it a matter of not having access to something similar to what sourceforge or Gitlab has on their websites?
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11941
  • FPC developer.
Re: Using FPC domain for Gitlab
« Reply #12 on: March 22, 2023, 08:32:47 am »
Gitlab is not just repo usage with git, but  also issue tracker and used to browse the repo. (say what viewvc was in the old system)

Joanna from IRC

  • Hero Member
  • *****
  • Posts: 1213
Re: Using FPC domain for Gitlab
« Reply #13 on: March 22, 2023, 09:32:07 am »
What would be involved with moving everything from gitlab to a fpc controlled domain? Is it possible?
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11941
  • FPC developer.
Re: Using FPC domain for Gitlab
« Reply #14 on: March 22, 2023, 11:59:16 am »
What would be involved with moving everything from gitlab to a fpc controlled domain? Is it possible?

Yes, it probably is. But it is a *load of work(both migration and maintenance), and the main objective of using gitlab was to reduce maintenance.

So not going to happen until there are really, *really* strong reasons for it.

 

TinyPortal © 2005-2018