Commit Graph

34 Commits

Author SHA1 Message Date
edelangh
0403e19476 Update dep url to 1.7.1 2018-10-16 23:52:34 +02:00
Sebastian Thiel
0337435cd4 imp(serde): upgrade to v0.9
This provides proc macros, greatly simplifying the build
projects.
2017-02-03 08:23:00 +01:00
Sebastian Thiel
75316f4c84 chore(version): api-cli lock-step; depend on specific version
As they are usually meant to work hand-in-hand anyway.
This simplifies the way this works a lot, and is probably
more correct as well.
2016-12-24 15:42:39 +01:00
Sebastian Thiel
52a1dd23c1 chore(version): v1.0.1
* cli: now refers to just version 1 of API
* api: updates the documentation URLs in cargo.toml
2016-12-24 15:37:32 +01:00
Sebastian Thiel
5e28a06dc0 fix(versions): cli + api use a single base version
That way we get rid of the duplication at least.
Probably it would be enough to just refer to version 1 of the
library respectively, and let semver do the rest.
2016-12-24 15:23:09 +01:00
Sebastian Thiel
fad9d3b0ca doc(index): link to doc.rs for APIs
We also link more specifically to crates.io.

Some debt was taken on as the build_version is special and
duplicated right now.
2016-12-24 13:44:06 +01:00
Sebastian Thiel
fc34337ee4 doc(lib): use docs.rs for library documentation
We will still need to host the CLI docs though.
2016-12-24 10:35:48 +01:00
Sebastian Thiel
91a657b8cf feat(cli): can now be published
This works as the API version is now explicitly specified,
allowing cargo-publish to work as usual.
2016-09-11 13:58:32 +02:00
Sebastian Thiel
d2495405c5 chore(Cargo): specify version to allow cli publishing
Let's see if we can actually get away with a '*' ... .
2016-09-11 12:08:57 +02:00
Sebastian Thiel
091d3f7e81 chore(version-up): increment versions ...
... in preparation for new publish.
Latest flows, and all should work out of the box
with the latest serde.
2016-07-17 13:05:00 +02:00
Sebastian Thiel
ca5dca7af9 chore(dependencies): pin url crate
The latest one needs some modifications, that will be done in
time.

Closes #150
2016-05-20 14:01:06 +02:00
Sebastian Thiel
930ce6d5c2 chore(update): all jsons; version-up
As we are now back to serde 0.6, the patch-level was upped too.
2016-04-10 14:04:44 +02:00
Sebastian Thiel
b3fd15edec chore(version-up): api version 0.1.12 2016-02-28 08:34:31 +01:00
Sebastian Thiel
5cba22f0c6 chore(versionup): increment versions of API + CLI 2016-01-30 14:07:09 +01:00
Sebastian Thiel
8295bf3c2d chore(rustup): no wildcards in dependencies
Also version specifications in dependencies were chosen to provide
maximum flexibility for users of the libraries.

CLIs on the other hand specify last known-to-work major and minor versions
to prevent breakage
2015-12-24 15:43:39 +01:00
Sebastian Thiel
e3f4fcadad chore(versionup): support for latest hyper 2015-12-06 17:51:06 +01:00
Sebastian Thiel
8ab4fd0bd4 fix(serde-up): update to serde 0.5.0
Serde move all json code into a separate crate that we are now using
as well.
2015-08-08 10:55:21 +02:00
Sebastian Thiel
d6ddff240d chore(version): api+cli increment
CLI was incremented to 0.3.0, just to signal usage of the latest clap-rs
as well as the update of the used API implememtation.

In that moment we also got rid of the json-tools dependency - it
required unstable features, and I was not willing to enforce making
it stable just yet.
2015-06-19 13:25:08 +02:00
Sebastian Thiel
a9e0be6583 fix(cli): work on stable
CLI was slightly adjusted to not use unstable features.
Fortunately, there is no serde magic happening, which allows
us to keep it simple without using a build script.
2015-06-19 12:55:00 +02:00
Sebastian Thiel
b0a41c4e78 fix(api): first big step towards syntex
Even though there is a bug that caues {} to be used in stead of
(),
when exanding macros, which causes syntax errors that we have to
workaround, it's not a real issue.

What's happening additionally is missing hyper macros, which
now have to be expanded manually. Shouldn't be a problem,
pretty-printing when compiling is made for just that ;).

No, it's sad that `include!()` works so badly, it makes
using serde so difficult ... it's no fun i must say.

Just for stable ... I am not sure if it is worth it."
2015-06-18 22:51:17 +02:00
Sebastian Thiel
e434563215 chore(cargo): compilation without local overrides
Also checked in code for groupsmigration to allow others to test it
simply by checking out the right commit.
2015-05-12 17:21:57 +02:00
Sebastian Thiel
15daf311ea refactor(API): use json_tools::IteratorExt
That way, we can invert the flow and produce more idiomatic code.
[skip ci]
2015-05-09 09:57:26 +02:00
Sebastian Thiel
3efa4f2b12 fix(API): filter null values of requrest structs
Some servers, like youtube, reject null values possibly thanks to
the reliance on parts. Now we are filtering them (in a very inefficient,
but working way), which seems to be fine with the servers.

Effectively, we seem to be able now to upload videos ... .

More testing required !
2015-05-08 12:38:59 +02:00
Sebastian Thiel
cc1bfd19c8 chore(api-versionup): to reflect recent changes
And to be sure we don't forget to publish new crates when the new CLI
hits the road.
2015-04-30 11:41:53 +02:00
Sebastian Thiel
4e275eaadd fix(version-up): CLI + API release preps 2015-04-26 11:22:56 +02:00
Sebastian Thiel
e34e24e049 feat(CLI):required arg parsing + first doit() call
We are parsing required scalar values and handle parse-errors correctly,
to the point were we make a simple, non-upload doit() call.

It shows that we seem to build invalid calls, for now,but that's nothing
we can't fix once the time is ripe.

Next goals will be related to finalizing the argument parsing code.

Fixes #60
2015-04-14 17:17:21 +02:00
Sebastian Thiel
a399488c27 fix(version-up): v0.1.5
* fix documentation link in Cargo.toml
* adjust to latest hyper. It's not even out yet, but people
  can't build the APIs anyway.
2015-04-08 16:54:50 +02:00
Sebastian Thiel
dd1d191966 fix(publish): v0.1.4
* macro 'alias' was renamed to 'rename'
* fixed `cargo test` on main project

The latter pointed me to the serde issue, which would have made
everything fail when actually used to communicate with google servers.
2015-04-07 15:53:30 +02:00
Sebastian Thiel
99f8b65f75 fix(api-version-up): version 0.1.3
* builds with latest beta/nightly

Fixes #46
2015-04-07 12:05:48 +02:00
Sebastian Thiel
c7fb7c4093 fix(versionup): set the API version to 0.1.2 2015-03-25 10:45:06 +01:00
Sebastian Thiel
d1c97912cb feat(mkdocs): mkdocs generator works now
It can be selected for each type of program we want to build, and makes
sense for everything that is not a library.

We also tried to unify names and folders a bit more, even though there
certainly is more work to be done to be fully non-redundant.

Fixes #43
2015-03-24 18:11:12 +01:00
Sebastian Thiel
cefd606b53 feat(make): cli depends on API, generically
This allows us to build efficiently. CLI programs can now have their
own cmn.rs implementation, which we can test standalone with
`cargo test`.

The primary makefile currently just explicitly pulls in the type-*.yaml,
one day we could possibly put it into a loop.

Fixes #11
2015-03-24 12:56:24 +01:00
Sebastian Thiel
caaf62e51d chore(suffix):prepare dep generation to use suffix
That way, we can have multiple deps files, one per program 'type'
2015-03-24 11:57:12 +01:00
Sebastian Thiel
be7d8214c1 feat(api): api generation works once again
With the new structure, it should be easy to add CLI programs with
proper dependencies accordingly.
2015-03-24 09:38:14 +01:00