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

starts of a GithubBackend #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

starts of a GithubBackend #9

wants to merge 1 commit into from

Conversation

clux
Copy link
Member

@clux clux commented Nov 4, 2017

Needs a new version of hubcaps that supports release assets before this can be used, but this contains the preliminary type setup. This would implement #1

Got stuck on having to add logic to hubcaps.
Think I had it almost working in lalbuild/hubcaps@a13f440

  • need to upgrade hyper to use new hubcaps (about time anyway)
  • fix progressbars for tokio (see indicatif tokio example )
  • actually finish off the backend

Cargo.toml Outdated
authors = ["Eirik Albrigtsen <ealbrigt@cisco.com>"]
description = "A strict, language-agnostic build system and dependency manager"
license = "MIT"
name = "lal"
version = "3.7.0"
Copy link
Member

Choose a reason for hiding this comment

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

alphabetical keys?

Copy link
Member Author

Choose a reason for hiding this comment

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

ugh, it's just different tools keep re-ordering them. both clippy and cargo-edit change the key order in different ways. maybe one of them parses into a hashmap rather than a btreemap.

#[derive(Serialize, Deserialize, Clone)]
pub struct GithubCredentials {
/// Personal access token with upload access
pub token: String,
Copy link
Member

Choose a reason for hiding this comment

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

Document how to get hold of one of these.

@clux
Copy link
Member Author

clux commented Nov 16, 2017

@clux clux force-pushed the github-backend branch 2 times, most recently from 62d16f7 to 2c5fe96 Compare December 14, 2017 00:30
@clux clux mentioned this pull request Dec 14, 2017
@clux
Copy link
Member Author

clux commented Dec 14, 2017

K. Legit failure. Finally travis.

hubcaps is missing the release assets api unfortunately though.
So we can create a release, but we can't attach our artifact to it yet.

Stashing current work in a branch.
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.

2 participants