repository

package
v0.0.0-...-7f17c66 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2018 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Active          ActivityStatus = "active"
	DeadEndFork                    = "dead-end-fork"     // Forks with no commits
	QuickFork                      = "quick-fork"        // Forks with less than 3 commits, all within a week from creation
	NoRecentCommits                = "no-recent-commits" // No commits for ExpiresAfter

	// No commits for ExpiresAfter and no imports.
	// This is a status derived from NoRecentCommits and the imports count information in the db.
	Inactive = "inactive"
)

Variables

This section is empty.

Functions

func NewGitHubRepository

func NewGitHubRepository(
	l *logger.Logger,
	ghr *github.Repository,
	github *github.Client,
	cacheRoot string,
	ctx context.Context,
) (*githubRepository, error)

Types

type ActivityStatus

type ActivityStatus string

type Repository

type Repository interface {
	ESModel() *esmodels.Repository
	ID() string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL