MigrationService

com.worxbend.codeberg4s.repositories.admin.MigrationService
See theMigrationService companion object

Which kind of forge POST /repos/migrate is being pointed at — service on MigrateRepoOptions.

The value decides how much Forgejo can bring across. MigrationService.Git copies commits and nothing else, because a bare Git remote has nothing else to offer; every other case unlocks the issue, label, milestone, release and pull-request flags on MigrateRepository by telling Forgejo which API to talk to.

spec/swagger.v1.json declares the ten cases below as an enum.

Attributes

Companion
object
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case Codebase extends MigrationService

Codebase.

Codebase.

Attributes

case Forgejo extends MigrationService

Forgejo.

Forgejo.

Attributes

case Git extends MigrationService

A plain Git remote. Commits only — see the type note.

A plain Git remote. Commits only — see the type note.

Attributes

GitBucket.

GitBucket.

Attributes

case GitHub extends MigrationService

GitHub, or GitHub Enterprise.

GitHub, or GitHub Enterprise.

Attributes

case GitLab extends MigrationService

GitLab, self-hosted or not.

GitLab, self-hosted or not.

Attributes

case Gitea extends MigrationService

Gitea.

Gitea.

Attributes

case Gogs extends MigrationService

Gogs.

Gogs.

Attributes

case OneDev extends MigrationService

OneDev.

OneDev.

Attributes

case Pagure extends MigrationService

Pagure.

Pagure.

Attributes

Value members

Concrete methods

def wireValue: String
Extension method from MigrationService

The spelling Forgejo expects in service.

The spelling Forgejo expects in service.

Attributes