Skip to content

Commit

Permalink
Update references for new hosting on github
Browse files Browse the repository at this point in the history
  • Loading branch information
alsm committed Feb 10, 2016
1 parent 617c801 commit 1833293
Show file tree
Hide file tree
Showing 22 changed files with 40 additions and 50 deletions.
21 changes: 4 additions & 17 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,20 +28,7 @@ Before your contribution can be accepted by the project, you need to create and
Contributing Code:
------------------

The Go client uses git with Gerrit for code review, use the following URLs for Gerrit access;

ssh://<username>@git.eclipse.org:29418/paho/org.eclipse.paho.mqtt.golang

Configure a remote called review to push your changes to;

git config remote.review.url ssh://<username>@git.eclipse.org:29418/paho/org.eclipse.paho.mqtt.golang
git config remote.review.push HEAD:refs/for/<branch>

When you have made and committed a change you can push it to Gerrit for review with;

git push review

See https://wiki.eclipse.org/Gerrit for more details on how Gerrit is used in Eclipse, https://wiki.eclipse.org/Gerrit#Gerrit_Code_Review_Cheatsheet has some particularly useful information.
The Go client is developed in Github, see their documentation on the process of forking and pull requests; https://help.github.com/categories/collaborating-on-projects-using-pull-requests/

Git commit messages should follow the style described here;

Expand All @@ -57,13 +44,13 @@ Contact the project developers via the project's "dev" list.
Search for bugs:
----------------

This project uses Bugzilla to track ongoing development and issues.
This project uses Github issues to track ongoing development and issues.

- https://bugs.eclipse.org/bugs/buglist.cgi?product=Paho&component=MQTT-Go
- https://github.com/eclipse/paho.mqtt.golang/issues

Create a new bug:
-----------------

Be sure to search for existing bugs before you create another one. Remember that contributions are always welcome!

- https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Paho
- https://github.com/eclipse/paho.mqtt.golang/issues
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,26 @@ Installation and Build
This client is designed to work with the standard Go tools, so installation is as easy as:

```
go get git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git
go get github.com/eclipse/paho.mqtt.golang
```

The client depends on Google's [websockets](http://godoc.org/code.google.com/p/go.net/websocket) package,
The client depends on Google's [websockets](https://godoc.org/golang.org/x/net/websocket) package,
also easily installed with the command:

```
go get code.google.com/p/go.net/websocket
go get golang.org/x/net/websocket
```


Usage and API
-------------

Detailed API documentation is available by using to godoc tool, or can be browsed online
using the [godoc.org](http://godoc.org/git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git) service.
using the [godoc.org](http://godoc.org/github.com/eclipse/paho.mqtt.golang) service.

Make use of the library by importing it in your Go client source code. For example,
```
import MQTT "git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git"
import "github.com/eclipse/paho.mqtt.golang"
```

Samples are available in the `/samples` directory for reference.
Expand All @@ -49,7 +49,7 @@ Tracing is enabled by assigning logs (from the Go log package) to the logging en
Reporting bugs
--------------

Please report bugs under the "MQTT-Go" Component in [Eclipse Bugzilla](http://bugs.eclipse.org/bugs/) for the Paho Technology project. This is a very new library as of Q1 2014, so there are sure to be bugs.
Please report bugs by raising issues for this project in github https://github.com/eclipse/paho.mqtt.golang/issues


More information
Expand Down
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"sync"
"time"

"git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/packets"
"github.com/eclipse/paho.mqtt.golang/packets"
)

type connStatus uint
Expand Down
2 changes: 1 addition & 1 deletion filestore.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"path"
"sync"

"git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/packets"
"github.com/eclipse/paho.mqtt.golang/packets"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion fvt_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"fmt"
"testing"

"git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/packets"
"github.com/eclipse/paho.mqtt.golang/packets"
)

/*******************************
Expand Down
2 changes: 1 addition & 1 deletion memstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package mqtt
import (
"sync"

"git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/packets"
"github.com/eclipse/paho.mqtt.golang/packets"
)

// MemoryStore implements the store interface to provide a "persistence"
Expand Down
2 changes: 1 addition & 1 deletion message.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
package mqtt

import (
"git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/packets"
"github.com/eclipse/paho.mqtt.golang/packets"
)

// Message defines the externals that a message implementation must support
Expand Down
2 changes: 1 addition & 1 deletion net.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"reflect"
"time"

"git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/packets"
"github.com/eclipse/paho.mqtt.golang/packets"
"golang.org/x/net/websocket"
)

Expand Down
2 changes: 1 addition & 1 deletion ping.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package mqtt
import (
"errors"

"git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/packets"
"github.com/eclipse/paho.mqtt.golang/packets"
)

func keepalive(c *Client) {
Expand Down
2 changes: 1 addition & 1 deletion router.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"strings"
"sync"

"git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/packets"
"github.com/eclipse/paho.mqtt.golang/packets"
)

// route is a type which associates MQTT Topic strings with a
Expand Down
4 changes: 2 additions & 2 deletions samples/custom_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ import (
"fmt"
"time"

MQTT "git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git"
"git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/packets"
MQTT "github.com/eclipse/paho.mqtt.golang"
"github.com/eclipse/paho.mqtt.golang/packets"
)

// This NoOpStore type implements the go-mqtt/Store interface, which
Expand Down
2 changes: 1 addition & 1 deletion samples/routing.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"fmt"
"os"

MQTT "git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git"
MQTT "github.com/eclipse/paho.mqtt.golang"
)

var brokerLoad = make(chan bool)
Expand Down
2 changes: 1 addition & 1 deletion samples/sample.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"fmt"
"os"

MQTT "git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git"
MQTT "github.com/eclipse/paho.mqtt.golang"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion samples/simple.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"os"
"time"

"git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git"
"github.com/eclipse/paho.mqtt.golang"
)

var f mqtt.MessageHandler = func(client *mqtt.Client, msg mqtt.Message) {
Expand Down
15 changes: 9 additions & 6 deletions samples/ssl.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,15 @@ must be created:

package main

import "io/ioutil"
import "fmt"
import "time"
import "crypto/tls"
import "crypto/x509"
import MQTT "git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git"
import (
"crypto/tls"
"crypto/x509"
"fmt"
"io/ioutil"
"time"

MQTT "github.com/eclipse/paho.mqtt.golang"
)

func NewTLSConfig() *tls.Config {
// Import trusted certificates from CAfile.pem.
Expand Down
4 changes: 2 additions & 2 deletions samples/stdinpub.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ import (
"os"
"strconv"
"time"
)

import MQTT "git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git"
MQTT "github.com/eclipse/paho.mqtt.golang"
)

func main() {
//MQTT.DEBUG = log.New(os.Stdout, "", 0)
Expand Down
2 changes: 1 addition & 1 deletion samples/stdoutsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"syscall"
"time"

MQTT "git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git"
MQTT "github.com/eclipse/paho.mqtt.golang"
)

func onMessageReceived(client *MQTT.Client, message MQTT.Message) {
Expand Down
2 changes: 1 addition & 1 deletion store.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"fmt"
"strconv"

"git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/packets"
"github.com/eclipse/paho.mqtt.golang/packets"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion token.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"sync"
"time"

"git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/packets"
"github.com/eclipse/paho.mqtt.golang/packets"
)

//PacketAndToken is a struct that contains both a ControlPacket and a
Expand Down
2 changes: 1 addition & 1 deletion unit_ping_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"bytes"
"testing"

"git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/packets"
"github.com/eclipse/paho.mqtt.golang/packets"
)

func Test_NewPingReqMessage(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion unit_router_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package mqtt
import (
"testing"

"git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/packets"
"github.com/eclipse/paho.mqtt.golang/packets"
)

func Test_newRouter(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion unit_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"os"
"testing"

"git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git/packets"
"github.com/eclipse/paho.mqtt.golang/packets"
)

func Test_fullpath(t *testing.T) {
Expand Down

0 comments on commit 1833293

Please sign in to comment.