Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Merge projects to single repository #85

Merged
merged 27 commits into from
Jan 10, 2018

Conversation

bradleybeddoes
Copy link
Contributor

@bradleybeddoes bradleybeddoes commented Jan 9, 2018

There ended up being three phases with this PR

  1. Repository merges
    Combines the following repositories into the core Gotham repository (these will subsequently be removed once 0.2 ships and marked archived once this PR lands):

Deprecates the following repositories (these will subsequently be removed once 0.2 ships and marked archived once this PR lands):

  1. Deprecating kitchen-sink
    The directory examples/kitchen-sink has been removed. Subsequent PR (so each example can be correctly scrutinised) will add back in a number of example crates that will allow developers building Gotham backed apps to succulently explore all the various components that Gotham offers without a singular, over whelming chunk of code

  2. Cleaning up README/policies
    The intent of these has been kept but there was a lot of extraneous wording that we just didn't need. In the case of the main Gotham README I have also added some best practice sub headings including listing alternate projects.

Closes #76.

This appears to be causing build failures when switching between stable,
beta and nightly on a single branch.
@ChristophWurst
Copy link
Contributor

Disable travis cargo cache

Why is that necessary? I assume that will slow down builds a lot.

@bradleybeddoes
Copy link
Contributor Author

@ChristophWurst errors like this started occurring https://travis-ci.org/gotham-rs/gotham/jobs/326651995#L784

A brief perusal doesn't show times being impacted much, if at all, based on the last few successful builds prior to that change.

@ChristophWurst
Copy link
Contributor

I wonder if that's just a temporary issue and clearing the cache once would have helped.

README.md Outdated
To ensure future compatibility, we also run automated builds against Rust beta and
nightly releases.
1. Statically typed. Unlike other web frameworks Gotham is statically typed ensuring your
entire application is **correctly expressed** at compile time.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unlike other web frameworks

Might be unnecessary

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied from website but agree, fixed.

Cargo.toml Outdated
[features]
default = []
ci = []
"middleware/template",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Is this a tab?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.


Standalone crates that act as examples for building web applications with Gotham.

All include test cases that prove correctness and serve as an example of how to test your own applications.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prove correctness

"demonstrate correct behaviour" perhaps? 😛

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

pub fn main() {
let addr = "127.0.0.1:7878";
println!("Listening for requests at http://{}", addr);
start(addr, || Ok(say_hello))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a fan of keeping this explicitly as gotham::start in code? I think importing the bare function makes it a bit harder to see what's going on.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree, gotham::start more useful, especially for newcomers.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Per review suggestion utilise `gotham::start` in all examples to make
source explicit.
Previous attempts to get sqlite to build on appveyor using vcpkg didn't
work out.

As I'm not a Windows user and this is all foreign to me, attempting to
adapt the Diesel projects configuration instead which is working fine
for them.
@smangelsdorf
Copy link
Contributor

Something weird going on with Coveralls, so I've temporarily removed the requirement for Coveralls to report everything is ok.

@smangelsdorf smangelsdorf merged commit 935ab29 into master Jan 10, 2018
@smangelsdorf smangelsdorf deleted the merge-projects-to-single-repository branch January 10, 2018 04:42
@bradleybeddoes bradleybeddoes added this to the 0.2 milestone Jan 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants