git

  1. vigole

    gitignore ".sujournal" problem with full path pattern in the ~/.config/git/ignore

    gitignore works fine with filename-only pattern, i.e. it ignores .sujournal correctly. $HOME/.config/git/ignore .sujournal But when I set the full path, it doesn't ignore it, i.e. Git status complains: $HOME/.config/git/ignore /usr/src/.sujournal My Git setting (Normal User): $ git config...
  2. vigole

    Solved Git clone in not-empty UFS2 directory, containing .snap and .sujournal

    Background: On one of my PC, I keep /usr/src, /usr/ports and /usr/doc sources in separate freebsd-ufs partitions, on separate HDD/MBR. This way, I can upgrade to the next snapshot (using ISO) -- both stable and current, and keep my Git clone-ed sources (same for CVS) Problem: But Git needs...
  3. vigole

    Solved Git src checkout from main to releng

    I'm on main branch of /src tree. git clone -o freebsd https://git.FreeBSD.org/src.git /usr/src Can I simply checkout to releng/13.0 by issuing following command: git checkout releng/13.0 and then pull/update releng/13.0? git pull --ff-only Question 1. Is that all, or there're some missing...
  4. HL1234

    Solved Searching for a command to list FreeBSD version with Git

    Hello, with FreeBSD 13.0 has somethings changed. For upgrading FreeBSD from Source, I had done before this version, before fetching the source: svn list svn://svn.freebsd.org/base/releng/ Supposed my /usr/src directory is empty and no "git clone" has been done, how can I list with the git...
  5. spag

    Solved poudriere ports and git

    poudriere ports -c and port updates were working flawless for many years until git happened. I assume many migration parts are still in progress. Unfortunately cannot make it work: #poudriere ports -c -m git -U https://git.freebsd.org/ports.git [00:00:00] Creating default fs at...
  6. vigole

    Git deep clone vs. shallow clone

    Git deep clone vs shallow clone, what's the difference between the two, and what are the limitations of choosing Shallow Clone over Deep Clone? I've read https://docs.freebsd.org/en/articles/committers-guide/#git-primer and few other FreeBSD related Git blogs, but I'm still confused.
  7. vigole

    Solved How much HDD space do I need to Git clone main (deep vs. shallow)

    How much HDD space do I need to 1. Git deep clone main. 2. Git shallow clone main.
  8. ShelLuser

    [Guide] Using Git to manage ports, source and documentation.

    Hi gang! Disclaimer: I am honestly a little excited about recent developments so expect to find some (small) opinionated parts in this guide. Nothing excessive mind you, but I can sometimes get a little carried away and despite some believes I never really plan guides like this. Editorial In...
  9. vigole

    Updating /src with Git, and "src" Components in the freebsd-update.conf

    CQ HALLO. SVN era: In the past, I could choose to extract the base source code in the /usr/src during the installation, or download it afterward and extract it after installation. In case of RELEASE, it was possible to update the /usr/src with freebsd-update, i.e. without using subversion. Git...
  10. B

    Solved installing and updating the src tree with git?

    Installing and updating the src tree with svn went like this [for release 12.2] into the src directory: svn checkout https://svn.freebsd.org/base/releng/12.2 /usr/src For Freebsd-Current [currently version 13] it is: svn checkout https://svn.freebsd.org/base/head /usr/src Updating the src...
  11. samTopaz

    Other Can't get git to not ask for a password when pushing to Github.

    Hello, I've been trying to setup SSH keys with git so that I can push to Github without a password. But it doesn't seem to be working. So far I've generated a public private key pair using the command: ssh-keygen -t rsa -b 4096 -C "your_email@example.com" (with my personal email of course.) I...
  12. E

    Gitea port panics

    Hello, I am using FreeNAS based on FreeBSD 11.3-RELEASE-p14. I have iocage jail with identical version of FreeBSD inside. I have installed Gitea 1.12.4 using pkg and tried to run it. Below is the panic details I received root@git:~ # gitea 2020/10/19 08:13:07 cmd/web.go:107:runWeb() [I]...
  13. J

    Solved git clone fails with "SSL_read: SSL_ERROR_SYSCALL, errno 54"

    I've been trying to clone the FreeBSD src tree, and I'm encountering the following error: error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 54 fatal: the remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed I've tried various solutions. The main one...
  14. N

    looking for old ports/packages

    Hi, I am looking for following version ports cmake-3.7.2 cmake-modules-3.7.2 git-2.12.1 sqlite3-3.18.0 ruby21-2.1.10_1,1 rsync-3.1.2_6 Above listed ports are not available on http://pkg.freebsd.org/FreeBSD:10:amd64/ I checked all releases and quarterly folders but same version ports are not...
  15. fnoyanisi

    Other Eclipse git plugin (EGit) for FreeBSD

    Hi there, I have installed java/eclipse (by using pkg) along with some additional plugins for C/C++ (CDT) and Python (PyDev) development. Instead of using available ports for java/eclipse-cdt and java/eclipse-pydev, I have chosen to install these plugins by using the "Help --> Install New...
  16. olihough

    Solved Installing Git from ports collection

    Hi, I've having some trouble installing Git from the ports tree, everything goes well and then at the very end this happens, I've searched around but I cant get my head around what is going wrong. Can somone point me in the right direction please FreeBSD 10.3 (recently updated from 10.0, not...
  17. andrewm659

    Gitlist install

    Got GitList installed and have it almost fully configured. However i'm getting this error: Fatal error: Call to undefined function hash() in /usr/local/www/gitlist/vendor/twig/twig/lib/Twig/Environment.php on line 265 Still researching this but was wondering if anyone else is having this...
  18. A

    Requesting Assistance with Gitlab Port

    Hello, I have installed a Gitlab instance on FreeBSD 10.3-RELEASE through the ports tree. While basic features are functional, there are a few errors which I am unable to resolve. I have searched online regarding the various issues but I have not been able to find any solutions. I have...
  19. R

    Other "git log" does not work for multiple author filtering

    I used git 2.9.2 on FreeBSD 11, and I want to search the log for two authors, the command is like git log --author="Andrew\|Stephen". But it does not give any output. If I use two commands to search Andrew and Stephen, both of them work fine. I also run this command on Ubuntu, it works. So, it...
  20. W

    Solved What level of devfs_ruleset is more secure?

    Hey guys, I am working on my git server, and SSH its claiming about have no access to /dev/tty inside of jail. After read about this issue, I have found is need setup on /etc/rc.conf to start it using: devfs_load_rulesets="YES" And on my jail.conf I need use devfs_ruleset, the level 3 and 5...
Top