Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 601916 - New repository hosting: repo/user/whilomc
Summary: New repository hosting: repo/user/whilomc
Status: IN_PROGRESS
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Gentoo Overlays (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Overlays Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-07 17:36 UTC by Whilom Chime
Modified: 2018-04-15 09:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Whilom Chime 2016-12-07 17:36:16 UTC
description: small-time package development (util-linux atm)
homepage (optional): 
admin access to: 
write access to: 

public SSH key:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDelRQEgm1GCbfB0g1/GMvq9RR8oDD2gHJLEUvaHxZT+yeU5P4grxSOkZF0sJAmZijG9hhp7+miW5nFOrNw/H3MoTEljrjeFvaYexSrzy8JsJ1wrXOi5h1fzQJRmeimkZti1CS5jPVq2FqJ5l7b+3ubmfT3GBXd8BqXCPxdWu3JMHmgNfwm5tx18gnLlMgy+4wURi3XMG55E1Kd6/KBGOVDs1YrDRViffd1K6vOR8m7KnyZU8RVCEhVNSrDS99D9lBqmczCGsNcT+39qcdK2xezfxv1xUgSk3yEcQtYUqrPyquqXWafyCPUoHsY36BsTgY8nh5Q/OsR/Br2IGSTbTI3
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-12-07 17:57:09 UTC
Your user overlay "whilomc" is almost ready.
Please read (all of) this guide to get it to work.

If you have any question we'll be here to help.


In this Guide
=============
- Terms of Service
- The Initial Push
- After That
  - Online Browsing
  - Getting into Layman
  - Keeping your overlay healthy


Terms of Service
================
The infra team has worked out the terms of service for us. To make us host your user overlay you need to accept these terms, which I don't expect to be a problem. By pushing to the remote repository you are accepting these terms:

  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
  Use of this service is  limited to overlays containing ebuilds
  and  supporting  files  (e.g.  init.d  scripts,  configuration
  files, patches,  but not distfiles)  and must follow  the same
  guidelines as apply to the gentoo-x86 tree of Gentoo.

  Any or all uses of this  service and all files on this service
  may  be  intercepted,  monitored, recorded,  copied,  audited,
  inspected, and disclosed to authorized site personnel, as well
  as authorized  officials of federal law  enforcement agencies,
  both domestic  and foreign.  By  using this service,  the user
  consents to such interception, monitoring, recording, copying,
  auditing,  inspection, and  disclosure  at  the discretion  of
  authorized site  personnel.  Use  of this  service constitutes
  consent to  security monitoring and testing.   All activity is
  logged with  your host name  and IP address.   Unauthorized or
  improper use of this service  may result in civil and criminal
  penalties.   By continuing  to use  this service  you indicate
  your awareness of and consent to these terms and conditions of
  use.   -- Gentoo Linux Infrastructure Admins

                      CEASE USE IMMEDIATELY,
   if you do not agree to the conditions stated in this warning.
                       *******************
  -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --


The Initial Push
================

First, before anybody can clone from your overlay an initial push is needed.

0) If you start with an empty repository be sure to setup your identity:

     # git init
     # git config user.name 'first last'
     # git config user.email foo@example.org
     [..]

1) Once you have ebuilds in there please set profiles/repo_name to
   'whilomc' in order to make it a valid overlay. Unless your ebuilds
   do not require any eclasses or licenses, and do not depend on any
   packages from Gentoo, set masters=gentoo in metadata/layout.conf
   as well.

     # mkdir metadata profiles
     # echo "masters = gentoo" > metadata/layout.conf
     # echo "whilomc" > profiles/repo_name
     # git add metadata/layout.conf profiles/repo_name
     # git commit

2) Now you are ready to push.  Proposed way of doing is this:

     # git remote add overlays-gentoo-org \
           git+ssh://git@git.gentoo.org/repo/user/whilomc.git
     # git push overlays-gentoo-org master


After That
==========

Online Browsing
---------------
After the initial push you can browse your overlay online at:
https://gitweb.gentoo.org/repo/user/whilomc.git/


Getting into Layman
-------------------
We have scripts to get hosted overlay into Layman easily: no need to write XML on your end.  Just let us know that you did complete the procedure from "The Initial Push" to get added.

Once it's in the Layman registry its content will be indexed at http://gpo.zugaina.org/ and two dedicated views of your overlay will appear at http://gentoo-overlays.zugaina.org/whilomc/ and http://gpo.zugaina.org/Overlays/whilomc/, too.


Keeping your overlay healthy
----------------------------
A few rules of thumb help to keep your overlay most useful to you and others:

 - If you package newer versions of software that is packaged in Gentoo
   already, try to get the version in Gentoo updated, too.
   (If there is no bump request on https://bugs.gentoo.org/ please file
   one and share patches you may have produced.)

 - If you apply custom patches make sure that you never use the very
   same revision that is used in Gentoo, e.g. if you use the ebuild
   of app-arch/bzip2-1.0.6-r3 do not call it app-arch/bzip2-1.0.6-r3
   in your overlay to avoid confusion.

A tool called "overlint" can support you with that process:

  # sudo emerge -av app-portage/overlint

For a quick introduction to overlint see http://blog.hartwork.org/?p=1667 .


Michał Górny
for the Gentoo Overlays Team
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-15 09:05:54 UTC
Ping.  No commits still.