When comparing SourceForge vs GitLab, the Slant community recommends GitLab for most people. In the question“What are the best alternatives to GitHub for Open Source projects?” GitLab is ranked 1st while SourceForge is ranked 9th. The most important reason people chose GitLab is:
GitLab's UI is clean and intuitive. Each view is designed to not fill the screen with useless information. It displays the activity in a feed-type way in the most prominent part of the view. On top of that, there's a toolbar with buttons which can filter this feed by pushes, merge events or comments. On the left, there's a menu that displays all the links that take you to the different views. For example, a file directory which displays all the files in that repo, a commit view which displays all the commits in cronological order, a network and a graph view that display important information graphically etc... All these details make GitLab's UI extremely intuitive and easy to use, no view is overflown with information and every view displays only the most useful and crucial information needed at that time.
Ranked in these QuestionsQuestion Ranking
Pro SourceForge offers a lot of helpful features for open source projects
Every project hosted on SourceForge can have discussion boards, and issue tracker, a tab for screenshots and something most code hosts don't have: a Shell access. Developers can also websites for their projects for free on SourceForge, as well as a Wiki for documentation.
The downside to this is that there is a lot of clutter in the beginning, and it may take a long time for beginners to check what they need and what they don't and where everything is.
Pro Easy for downloading projects
SourceForge makes it easy for users to download software hosted on it. It detects the user's platform and provides them with an appropriate version. They also have an extensive mirror network all over the world, which helps speed up downloads.
For developers, they offer download stats which are grouped by platform and by region.
Pro Good web UI
GitLab's UI is clean and intuitive. Each view is designed to not fill the screen with useless information.
It displays the activity in a feed-type way in the most prominent part of the view. On top of that, there's a toolbar with buttons which can filter this feed by pushes, merge events or comments.
On the left, there's a menu that displays all the links that take you to the different views. For example, a file directory which displays all the files in that repo, a commit view which displays all the commits in cronological order, a network and a graph view that display important information graphically etc...
All these details make GitLab's UI extremely intuitive and easy to use, no view is overflown with information and every view displays only the most useful and crucial information needed at that time.
Pro Supports pull requests
Has pull request (aka. merge request) support.
Pro Regular updates
GitLab is being constantly worked on and has a new release every month on the 22nd. Updating is also very easy through a single apt-get command.
Pro Has wiki's and pages
Wiki and pages support out of the box.
Pro Support for protected branches
A protected master branch means that no code can be merged to master without passing a code review by an authorised developer. With GitLab this comes out of the box.
Pro Issue tracking support
Has issue tracking out of the box. Creating tickets, commenting on issues, closing issues etc... It's all there out of the box.
Pro Easy to install with the packages
With the packages available here, GitLab can be installed in two minutes.
Pro Permissions and roles are supported
It has private/public repositories, roles for users (master, developer, reporter, guest). All of these can be set from the user interface. Same permissions set for the UI work for the SSH as well.
Pro Integrates fully with LDAP
The Lightweight Directory Access Protocol is an application protocol for accessing and maintaining distributed directory information services over an Internet Protocol (IP) network.
GitLab EE adds additional functionality over CE such as support for multiple LDAP servers and group sync.
Pro Supports Approvers/Reviewers of Pull/Merge requests
Since 7.12 you can define a minimum number of approvers for merge requests.
Pro Comes with integrated CI/CD solution
GitLab CI makes it easy to set up CI and deployment for projects in GitLab. It supports parallel testing, multiple platforms, Docker containers and streaming build logs.
Pro "Snippets" support
Snippets are similar to (well-known) GitHub "gists". They are a way to share code or have conversations about anything without needing a full git repo. The implementation here reminds more of a sort of pastebin.
Pro Manages large files and binaries with integrated Git Annex
Git Annex enables Git to manage large files (esp binaries) without checking them into Git.
A single instance can handle up to 40,000 users (requires a server with 64 core CPU and 64 GB of RAM) and it can run on multiple application servers to grow beyond that.
Pro Can provide a Docker registry
The default docker.io registry is the docker hub but you can also login to other docker registries. And GitLab provides one for all Repos that make use of this feature.
Pro Integrates with other systems by webhooks
Integrates out of the box with services like Bugzilla, Pushbullet, Microsoft Team Notification and many more - one can also add own webhooks to integrate with own services.
Pro Most GitLab EE feature become part of GitLab CE after time
EE is the commercial Enterprise Edition, CE is the free and OpenScource Community Edition. Features such as Cycle Analytics were first a part of the EE and are now also available in CE.
Pro Allows Timetracking with Cycle-Analytics
Very useful project management feature that allows you to know how long it takes to go from the idea to production.
Pro Very feature rich RESTful-API
Con Cluttered UI
Compared to other hosts, Sourceforge's UI feels messy and cluttered. Ads take up large portions of screen real estate, and feature creep has resulted in buttons and links everywhere that can sometimes make it difficult to find what you're looking for.
Con Downloads from SourceForge come with a closed-source installer which attempts to install third-party software
One of the main points of open source software is that users are getting a trustworthy product which they can trust, SourceForge has violated this trust in the past. Every project that is downloaded from SourceForge comes with it's (closed-source) installer which attempts to install third-party software in the computer. These third-party software, more often than not are adware or malware.
Dice, the new owners of SourceForge have chosen this as a way of monetisation and they strongly encourage developers to participate in this by giving them a cut of the profits.
Con Not all features are free
Con Bad code review possibilities
No precommit reviews.
Con No squash on merge possibility in CE
Con Needs too much RAM for a Raspberry Pi
On a Raspberry Pi 2 it runs fine most of the time, though it eats 75% of the RAM. For bigger servers it should be fine but it needs to be noted that for smaller machines with little RAM it's not ideal.
Con Git only
Supports only Git version control system.
Con No Windows support
There is no support for Windows. The use of a virtual machine will be required.