Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[WIP] Release 0.3.0 #82

Merged
merged 24 commits into from
Apr 24, 2016
Merged

[WIP] Release 0.3.0 #82

merged 24 commits into from
Apr 24, 2016

Conversation

Ianleeclark
Copy link
Owner

@Ianleeclark Ianleeclark commented Apr 1, 2016

@Ianleeclark Ianleeclark self-assigned this Apr 1, 2016
@Ianleeclark Ianleeclark added this to the 0.3.0 milestone Apr 1, 2016
Ian C and others added 22 commits April 1, 2016 17:00
Maybe this'll build the docker image.
* Issue #85

Updating peer retrieval to take 30 random peers from complete. Need to update redis.go

* Issue #85

Updating Redis.go to fetch random peers

* Update server.go

* Update redis.go

* Update .travis.yml

* Update redis.go
* Update .travis.yml

* Fix gofmt and some golint issues (#91)

* Issue #93

CHANGE:
  - Too many things to list individually but there's a hell of a lot of
    linter-friendly code. Probably didn't increase code quality and
    maybe lowered it, but sometimes you gotta do what you gotta do

* Issue #93: Merging origin/devel into origin/issue-93
ADD:
  - redis.go:RedisGetBoolKeyVal() Now checks redis.Exists() and bases the return value off of that.
  - redis_test.go: A few more unit tests, almost done
ADD:
  - redis_test.go Added remaining unit tests, probably near 100% unit coverage but who cares.
CHANGE:
  - server/redis_test.go:TestRedisSetKeyIfNotExists() fixed dysfunctional test, we
    expect a return to false because the key doesn't redis.Exist()
* Issue #96: Adding some unit tests to redis.go

* Adding redis service to travis.

* Issue #96

ADD:
  - redis.go:RedisGetBoolKeyVal() Now checks redis.Exists() and bases the return value off of that.
  - redis_test.go: A few more unit tests, almost done

* Issue #96

ADD:
  - redis_test.go Added remaining unit tests, probably near 100% unit coverage but who cares.

* Issue #96

CHANGE:
  - server/redis_test.go:TestRedisSetKeyIfNotExists() fixed dysfunctional test, we
    expect a return to false because the key doesn't redis.Exist()

* Issue #96

CHANGE:
  - Just fixing issues created by the merge
CHANGE:
  - server/announce.go: Fixed mispelling "happend" -> "happened"
ADD:
  - bencode/bencode.go:writeStringData() New function to concatenate two strings more
    efficiently than our older Sprintf method. Not a big deal, but every part matters.
CHANGE:
  - redis.go: Changed any instance where redis.go functions expected a
    `redisClient` and a *announceData as two seperate paramters, to only expect
    on `data *announceData`
@Ianleeclark
Copy link
Owner Author

I'm going to strip out any sql-related things from this besides passing the config to the requestHandler and make the next milestone a huge SQL update.

* Issue #103

ADD:
  - server/definitions.go:applicationContext a new data structure that
    represents data that should persist in that form throughout the entire
    application's lifetime.
  - server/definitions.go:requestAppContext a new data structure
    representing data that needs to persist only for a peer data transaction
    (database connections, redis connections, potentially more in the
    future.)

* Issue #103

CHANGE:
  - All changes associated with this commit are changing `announceData` to have
    a `requestContext` member (of type requestAppContext) instead of a
    `redisClient` member.
@Ianleeclark
Copy link
Owner Author

Cancelling #12. Not being able to cover multiple packages is exceptionally dumb.

@Ianleeclark Ianleeclark merged commit 5249bb0 into master Apr 24, 2016
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant