Stream: wg-traits

Topic: publishing chalk rustdocs


nikomatsakis (Nov 14 2019 at 10:28, on Zulip):

Hey @Pietro Albini -- for some time now, chalk has been getting Travis errors like these when trying to publish rustdocs:

Initialized empty Git repository in /tmp/d20191105-4398-1xa4oio/work/.git/

Switched to a new branch 'gh-pages'

cd -

cd /tmp/d20191105-4398-1xa4oio/work

rsync: change_dir "/home/travis/build/rust-lang/chalk/target/doc" failed: No such file or directory (2)

rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1183) [sender=3.1.1]

Could not copy /home/travis/build/rust-lang/chalk/target/doc.

The relevant part of travis.yml is:

deploy:
  - provider: pages
    local-dir: ./target/doc
    skip-cleanup: true
    github-token: $GITHUB_TOKEN
    on:
      branch: master

Any idea what's going on? Also, I know that GITHUB_TOKEN is not the preferred way to do things these days, I think it's easy for you to upgrade it?

nikomatsakis (Nov 14 2019 at 10:29, on Zulip):

(Soon, I'd also like to add a mdbook setup there, but I guess that's neither here nor there...)

Pietro Albini (Nov 14 2019 at 10:29, on Zulip):

I'll take a look once I get home from university

nikomatsakis (Nov 14 2019 at 10:29, on Zulip):

Thanks, I tried some google searching but I couldn't find anything wrong :shrug:

Pietro Albini (Nov 14 2019 at 10:29, on Zulip):

anything against me switching it to github actions in the meantime?

nikomatsakis (Nov 14 2019 at 10:29, on Zulip):

No

Pietro Albini (Nov 14 2019 at 10:29, on Zulip):

:thumbs_up:

nikomatsakis (Nov 14 2019 at 10:30, on Zulip):

I should also figure out how to get high-five to auto-assign PRs for reviews...

nikomatsakis (Nov 15 2019 at 10:40, on Zulip):

@Pietro Albini were you ever able to take a look at this?

Pietro Albini (Nov 15 2019 at 11:08, on Zulip):

no, I'll take a look on monday

Pietro Albini (Nov 18 2019 at 10:22, on Zulip):

ok this should work https://github.com/rust-lang/chalk/pull/288

Pietro Albini (Nov 18 2019 at 13:52, on Zulip):

http://rust-lang.github.io/chalk/chalk/

Pietro Albini (Nov 18 2019 at 13:52, on Zulip):

:tada:

nikomatsakis (Nov 18 2019 at 18:32, on Zulip):

Thanks @Pietro Albini !

detrumi (Nov 19 2019 at 17:30, on Zulip):

It seems like forks are also triggering CI builds? https://github.com/detrumi/chalk/runs/310030276

matklad (Nov 19 2019 at 17:39, on Zulip):

@detrumi yep, I think that's how actions work, they are shared between the forks. you can disable all actions on your fork though

Last update: Dec 12 2019 at 00:50UTC