Rapture in Everything

Posts tagged "git"

Getting Started with Github Actions for .NET Core

When I pushed my recent Ghoplin mini-project to GitHub, it automatically offered to define a build action. I really liked the user experience here: GitHub offered the Action feature, detected my project type and generated a file, with project-appropriate defaults and in the correct folder. I updated the dontnet version in the script and tried it; everything works and the task reports a success. name: .NET Core on: [push] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: dotnet-version: 3.1.10 - name: Build run: dotnet publish -r...

Making Gitea start automatically with systemd

I managed to deploy my Gitea service, but had difficulties getting it to start automatically on system startup. (Oh, I really miss Windows Scheduler.) I stumbled upon an article explaining how to define a simple systemd unit. I attempted to write one, and it worked! Here is what I came up with:...

Running a git repo site on nginx on Ubuntu

Last time around I wrote about migrating my webs to an Ubuntu VM. One of the few things that were left to migrate was my private git repo hosting site. I'd used Bonobo Git Server and had always been satisfied with it. Since it doesn't target .Net Core, I didn't see any reasonable way to run it on Ubuntu. After some searching, I'd fortunately stumbled upon Gitea. To get it up and running for the first time wasn't that difficult. I just had to: sudo useradd -m gitea wget https://dl.gitea.io/gitea/1.1.3/gitea-1.1.3-linux-amd64...

Migrating history from TFS to Git with git-tfs

Maybe you've found yourself stuck with a codebase in the TFS Version Control System and would like to move it, along with its entire history, into Git. If so, this article explains how to do it. Even if you don't plan to move, you might want to check out git-tfs - a bridge between TFS and Git, that allows you to work with your codebase in TFS as if it were a Git repository. I'd been using git-tfs for multiple projects, and since now the TFS server itself directly supports Git, it's about time to migrate it.[1] If you...