Skip to content

Commit

Permalink
Rename mentions of repo name from imjoey to ovirt (#147)
Browse files Browse the repository at this point in the history
* Rename repo name from github.com/imjoey to github.com/ovirt

Signed-off-by: Roy Golan <[email protected]>

* Adapt build instruction in README

Since imjoey already converted the project to use modules, we can just
dump GOPATH

Signed-off-by: Roy Golan <[email protected]>

* Lowercase ovirt as go_import_path to fix ci errors

Signed-off-by: imjoey <[email protected]>
  • Loading branch information
rgolangh authored and imjoey committed Jun 22, 2019
1 parent 9185128 commit 0dd3983
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 20 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ sudo: required
services:
- docker
language: go
go_import_path: github.com/ovirt/terraform-provider-ovirt
go:
- "1.11.x"

Expand Down
19 changes: 4 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Terraform oVirt Provider plugin
===============================

[![Build Status](https://travis-ci.org/imjoey/terraform-provider-ovirt.svg?branch=master)](https://travis-ci.org/imjoey/terraform-provider-ovirt)
[![Go Report Card](https://goreportcard.com/badge/github.com/imjoey/terraform-provider-ovirt)](https://goreportcard.com/report/github.com/imjoey/terraform-provider-ovirt)
[![Go Report Card](https://goreportcard.com/badge/github.com/ovirt/terraform-provider-ovirt)](https://goreportcard.com/report/github.com/ovirt/terraform-provider-ovirt)


This plugin allows Terraform to work with the oVirt Virtual Machine management platform.
Expand All @@ -29,22 +29,12 @@ Requirements
Building The Provider
---------------------

Clone repository to: `$GOPATH/src/github.com/imjoey/terraform-provider-ovirt`

```sh
$ mkdir -p $GOPATH/src/github.com/imjoey
$ cd $GOPATH/src/github.com/imjoey
$ git clone [email protected]:imjoey/terraform-provider-ovirt
```

Enter the provider directory and build the provider

```sh
$ cd $GOPATH/src/github.com/imjoey/terraform-provider-ovirt
$ git clone [email protected]:ovirt/terraform-provider-ovirt
$ cd terraform-provider-ovirt
$ make build
```


Using the provider
------------------
If you're building the provider, follow the instructions to [install it as a plugin.](https://www.terraform.io/docs/plugins/basics.html#installing-a-plugin) After placing it into your plugins directory, run `terraform init` to initialize it.
Expand Down Expand Up @@ -92,10 +82,9 @@ provider "ovirt" {

Provider Documents
--------------
Currently the documents for this provider is not hosted by the offcial site [Terraform Providers](https://www.terraform.io/docs/providers/index.html). Please enter the provider directory and build the website locallly.
Currently the documents for this provider is not hosted by the official site [Terraform Providers](https://www.terraform.io/docs/providers/index.html). Please enter the provider directory and build the website locally.

```sh
$ cd $GOPATH/src/github.com/imjoey/terraform-provider-ovirt
$ make website
```

Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ To run any example, clone the repository and run `terraform apply` within the ex
For example:

```sh
$ git clone https://github.com/imjoey/terraform-provider-ovirt
$ git clone https://github.com/ovirt/terraform-provider-ovirt
$ cd terraform-provider-ovirt/examples/vm
$ terraform apply
```
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/imjoey/terraform-provider-ovirt
module github.com/ovirt/terraform-provider-ovirt

go 1.12

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package main

import (
"github.com/hashicorp/terraform/plugin"
"github.com/imjoey/terraform-provider-ovirt/ovirt"
"github.com/ovirt/terraform-provider-ovirt/ovirt"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions scripts/changelog-links.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ else
SED="sed -i.bak -r -e"
fi

PROVIDER_URL="https:\/\/github.com\/imjoey\/terraform-provider-ovirt\/issues"
PROVIDER_URL="https:\/\/github.com\/ovirt\/terraform-provider-ovirt\/issues"

$SED "s/GH-([0-9]+)/\[#\1\]\($PROVIDER_URL\/\1\)/g" -e 's/\[\[#(.+)([0-9])\)]$/(\[#\1\2))/g' CHANGELOG.md

rm CHANGELOG.md.bak
rm CHANGELOG.md.bak

0 comments on commit 0dd3983

Please sign in to comment.