4 Replies Latest reply on Nov 22, 2012 2:04 AM by Aslak Knutsen

    Building Arquillian.org

    Lucas Holmquist Newbie

      Hey Guys,


      I was going to start work on this: https://issues.jboss.org/browse/AEROGEAR-326


      i'm trying to build the site, all gems installed according to the readme


      $ awestruct -d


      but i keep running into issues with the github api.  Using to many requests it looks like.


      Fetching https://api.github.com/users/bosschaert
      403 Forbidden




      is there a way to not make these calls locally, or is there a setting to increase the limit, so i can get past it?



      thanks guys,






      or ping me in #aerogear  - lholmquist

        • 1. Re: Building Arquillian.org
          Aslak Knutsen Master

          Github has limited it's un auth api usage drastically.


          Add a file in the root folder called .github-auth


          Make the content of the file:






          note to self.. we should rewrite this to use an oauth2 token..

          • 2. Re: Building Arquillian.org
            Lucas Holmquist Newbie

            That got me almost there.


            I kept getting a 404 on the look up of api.github.com/users/146647/members   link might not be totally correct,  going from memory. 


            basically the speaker, translator and core lookups.  Maybe i need to be part of the arquillain team on github for those to resolve




            got things working by commenting out  that part in pipeline.rb


            # You need to have the file $HOME/.github-auth containing username:password on one line
              github_collector = Identities::GitHub::Collector.new(:auth_file => '.github-auth', :teams =>
                  #{:id => 146647, :name => 'speaker'},
                  #{:id => 125938, :name => 'translator'},
                  #{:id => 146643, :name => 'core'}
            • 3. Re: Building Arquillian.org
              Aslak Knutsen Master

              mm yea. Vineet mentioned the same.


              Need to look at how to avoid that.

              • 4. Re: Building Arquillian.org
                Aslak Knutsen Master

                I know Dan is working on a 'writer/blogger' profile for awestruct on Arquillian.org. Basically disable most of the extensions and only generate the interesting parts for a guide/blog.


                That should make it a lot easier.