New one click installer: Gitea

Posted in Git by

We have just released a new installer for the lightweight code hosting Gitea application for the Git version control system.

Gitea is similar to well known services for modern software development like GitHub, Bitbucket, and Gitlab, aiming to provide an easy, fast, and painless way of setting up a self-hosted Git service. It joins our pack of project management applications, along side Redmine and Trac, providing a new, fresh approach.

With Gitea you can have both public and private repositories hosted under the same roof. With a wealth of tools available for collaboration, you can manage pull requests, merges and branches directly from its UI, grant and fine-tune permissions for fellow developers working on your projects. As well as the ability to enable a wiki and an issue tracker for each repository where everyone can contribute.

You can create a Gitea app using our control panel, by selecting Gitea in the App Type dropdown menu of our Add new application page:

Screenshot of WebFaction control panel gitea app picker

Check out the WebFaction specific docs here or the official Gitea docs here.

This is our first installer that uses the Go programming language. Go has been on the rise in the last couple of years because it makes it easy to build simple, reliable, and efficient software. The language was created at Google and it is perfect for creating APIs and services due to its portability across different architectures. It can be compiled for all major operating systems, such as Windows, Mac OS or Linux, and run on a plethora of CPU processors.

A “Hello, World!” code looks like this:

package main

import "fmt"

func main() {
fmt.Println("Hello, World!")
}

If it you want to test Go, you can give Revel or Echo a try or even the Macaron web framework, that Gogs and Gitea are built upon.

-
-

One-click installers: version control tools

Posted in Git by

It’s that time again: a closer look at the one-click installers available with the WebFaction control panel. In the fifth part of our ongoing series, we’ll scope out version control systems. Version control tools make it easier to keep your code organized, with a full history of the changes you’ve made along the way. The control panel features two version control applications: Subversion and Git.

Subversion

Subversion is a tried-and-true centralized version control system, in which clients check out portions of a central repository’s files and their history. The Subversion client software is already installed system-wide on every WebFaction server, so if you need to check out code from a repository hosted elsewhere, then you can use svn checkout right away. But if you want to host your own repository, then you’ll want to add a Subversion application to your website with the control panel.

To learn more about using Subversion, check out the official Subversion documentation and our Subversion docs.

Additionally, the Subversion one-click installer integrates with the Trac one-click installer; see our last installer blog post for more about Trac and Subversion integration.

Git

Git is a popular distributed version control system, in which every client retains a full copy of the repository and its history. Like Subversion, the Git client software is already installed system-wide on WebFaction servers, so you can git clone or git init without any intermediate steps. But if you want to publish a repository on the web, then add a Git application to a website with the control panel.

To learn more about using Git, check out the official Git documentation and our Git docs.

Again, the Git one-click installer integrates with the Trac one-click installer; see our last installer blog post for more about Trac and Git integration.

Mercurial and Bazaar

Subversion and Git aren’t the only version control options out there. Although we don’t have one-click installers available for them, we do have documentation to get you up and running with Mercurial and Bazaar.

Regardless of which specific tool you choose, version control is a great way to get organized, so give one a try. If you have any questions or need help, join us in the Q&A Community.

-
-

A look at version control on our servers

Posted in Git by

Appending version_36 or final_2 to a file name is no way to keep track of different versions of files. Instead, we’re lucky to have a wide variety of version control tools at our disposal. And a webserver is no place to skimp on such things, so today we’re taking a look at version control on WebFaction’s servers.

If you like your version control centralized, with a single, authoritative repository, we’ve got you covered with Subversion. Both the Subversion client and server are available with your WebFaction account. For example, you can check out a working copy of the WordPress trunk with the svn command-line client like this:

$ svn co http://core.svn.wordpress.org/trunk/ wp-source

You can also serve a Subversion repository with the one-click installer. You can serve a Subversion repository publicly for open-source projects, or set up users to control access for private projects. Check out the Subversion documentation for more details.

If you like your version control distributed, where each user has a complete “clone” of the repository, then Git is a great choice. Each WebFaction server has the Git client installed, and serving Git repositories on the web is a snap with the one click installer. The client’s handy for grabbing code from GitHub, like the Django repository:

$ git clone https://github.com/django/django.git

Like Subversion, you can make respositories available on the web with the one-click installer. A single Git application can host mulitple repositories and can be configured for public access or per user access for private projects. See the Git documentation for detailed instructions.

An additional benefit of using a Git or Subversion application is that you can link your repositories to a Trac installation. Trac is a handy, open source project management tool that features a ticket tracker, wiki, and repository browser. For more details about using Trac with your WebFaction account, see our Trac documentation.

Of course, Git and Subversion aren’t your only options. It’s easy to set up other version control tools in your home directory. We have instructions for installing Mercurial and Bazaar clients, as well as publishing Mercurial and Bazaar repositories on the web with hgweb and loggerhead respectively.

So if you haven’t already, give version control a try with your WebFaction account. Let us know what you think in the comments, or if you need any help, join us in the Q&A Community.

-
-

Trac and Git, two new best friends

Posted in Git by

Trac is one of the best tools out there to manage your projects. It integrates an issue-tracking system, a wiki, a code browser and the three of them easily link to each other. At WebFaction we use it for all of our projects and we love it.

Trac works hand in hand with the version control system that you use for your code. Until recently our one-click installer only supported Subversion as the version control system for Trac but we’ve just added support for Git.

Bellow is a 3-minute screencast showing how to setup a Trac app with a Git repository in a few clicks. We also have a section about Trac in our documentation and one about Git.

Enjoy!

Click here to view the video

-
-