Skip to content

about:workflow

Jonathan Perkin edited this page Aug 9, 2017 · 19 revisions

Contents

  1. Introduction
  2. Repositories
  3. pkgsrc
  4. pkgsrc-joyent
  5. pkgsrc-wip
  6. Repository Flows

Introduction

Our pkgsrc releases are made up from a number of different repositories and branches, which can be confusing for newcomers. This document aims to explain the relationships clearly and make it easy for users to know where issues and pull requests should go.

Repositories

We have three main repositories, though two of them are themselves forks of upstream repositories:

pkgsrc

This is the primary repository, located at https://github.com/joyent/pkgsrc/, and containing the majority of packages. It is a downstream fork of the official pkgsrc repository.

pkgsrc-joyent

This is a secondary repository, located at https://github.com/joyent/pkgsrc-joyent/. This repository contains a number of packages that are not (yet) suitable for committing either to pkgsrc or pkgsrc-wip, mostly because they have Joyent-specific requirements.

pkgsrc-wip

This is another secondary repository, located at https://github.com/joyent/pkgsrc-wip/, and based on the pkgsrc-wip project. This repository contains packages that are considered as not yet ready for inclusion into the main pkgsrc repository, but we find enough merit in some of them to include them in our package repositories.

Repository Flows

The following diagram shows how changes flow through the different repositories.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                                      β”‚                                       β”‚
β”‚         The NetBSD Foundation        β”‚                 Joyent                β”‚
β”‚         =====================        β”‚                 ======                β”‚
β”‚                                      β”‚                                       β”‚
β”‚       Commit directly to pkgsrc      β”‚  Commit directly to pkgsrc-joyent and β”‚
β”‚                                      β”‚    local branches of pkgsrc and wip   β”‚
β”‚                                      β”‚                                       β”‚
β”‚  Access to pkgsrc is limited to TNF  β”‚  Access limited to Joyent employees   β”‚
β”‚   members (via sponsorship process)  β”‚                                       β”‚
β”‚                                      β”‚                                       β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚                                       β”‚
β”‚  β”‚ cvs.netbsd.org:/cvsroot/pkgsrc β”‚  β”‚                                       β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚                                       β”‚
β”‚                 [1]                  β”‚                                       β”‚
β”‚     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€v─────────────┐     β”‚     β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”‚
β”‚     β”‚ github.com/NetBSD/pkgsrc β”œβ”€β”€β”€β”€[2]───>β”‚ github.com/joyent/pkgsrc β”‚      β”‚
β”‚     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜     β”‚     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β”‚
β”‚                                      β”‚                                       β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€                                       β”‚
β”‚                                      β”‚                                       β”‚
β”‚       The pkgsrc-wip project         β”‚                                       β”‚
β”‚       ======================         β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚                                      β”‚  β”‚ github.com/joyent/pkgsrc-joyent β”‚  β”‚
β”‚    Commit directly to pkgsrc-wip     β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β”‚                                      β”‚                                       β”‚
β”‚    Access open to anyone who asks    β”‚                                       β”‚
β”‚                                      β”‚                                       β”‚
β”‚    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    β”‚    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚    β”‚ wip.pkgsrc.org:/pkgsrc-wip β”œβ”€β”€β”€[3]──>β”‚ github.com/joyent/pkgsrc-wip β”‚   β”‚
β”‚    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜    β”‚    β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚                                      β”‚                                       β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  1. Regular fossil-based full conversion from CVS to Git exported to GitHub
  2. Forked repository regularly updated from upstream
  3. Loose fork, updates from wip are merged into joyent/pkgsrc-wip manually

Clone this wiki locally