You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/01/05 03:04:59 UTC

[GitHub] [incubator-nuttx-website] btashton opened a new pull request #7: Add publisher script

btashton opened a new pull request #7: Add publisher script
URL: https://github.com/apache/incubator-nuttx-website/pull/7
 
 
   Running this script will generate the static website content and make a commit in the asf-site branch that is linking to the commit that it generated from.  This also takes care of installing all the ruby build dependencies in a vendor folder so they do not have to be install system wide.
   
   I have an example of a orphaned asf-site branch as well that I would recommend we use as a starting branch.  Someone would need to force it over the existing asf-site branch that is based on master.
   
   So in short to see how this works, clone my fork checkout this publish branch and run the "./publish.sh" script.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] huahang commented on issue #7: Add publisher script

Posted by GitBox <gi...@apache.org>.
huahang commented on issue #7: Add publisher script
URL: https://github.com/apache/incubator-nuttx-website/pull/7#issuecomment-570908074
 
 
   @btashton Hi Brennan, I tried the `publish.sh` script. I think the link to the original version is very nice~
   :-)
   
   One thing I've noticed is that this script will put the generated files inside a `content` folder like the Apache Daffodil project [1]. This is different from the Apache brpc project which places the files in `asf-site`'s root folder. Maybe both are supported. We may want to have a try after your other 2 PRs are merged.
   :-P
   
   [1]. https://github.com/apache/incubator-daffodil-site/tree/asf-site
   [2]. https://github.com/apache/incubator-brpc-website/tree/asf-site
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] huahang edited a comment on issue #7: Add publisher script

Posted by GitBox <gi...@apache.org>.
huahang edited a comment on issue #7: Add publisher script
URL: https://github.com/apache/incubator-nuttx-website/pull/7#issuecomment-570908074
 
 
   @btashton Hi Brennan, I tried the `publish.sh` script. I think the link to the original version is very nice~
   :-)
   
   One thing I've noticed is that this script will put the generated files inside a `content` folder like the Apache Daffodil project [1]. This is different from the Apache brpc project which places the files in `asf-site`'s root folder [2]. Maybe both are supported. We may want to have a try after your other 2 PRs are merged.
   :-P
   
   [1] https://github.com/apache/incubator-daffodil-site/tree/asf-site
   [2] https://github.com/apache/incubator-brpc-website/tree/asf-site
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] huahang edited a comment on issue #7: Add publisher script

Posted by GitBox <gi...@apache.org>.
huahang edited a comment on issue #7: Add publisher script
URL: https://github.com/apache/incubator-nuttx-website/pull/7#issuecomment-570908074
 
 
   @btashton Hi Brennan, I tried the `publish.sh` script. I think the link to the original version is very nice~
   :-)
   
   One thing I've noticed is that this script will put the generated files inside a `content` folder like the Apache Daffodil project [1]. This is different from the Apache brpc project which places the files in `asf-site`'s root folder [2]. Maybe both are supported. We may want to have a try after your other 2 PRs are merged.
   :-P
   
   [1] https://github.com/apache/incubator-daffodil-site/tree/asf-site
   [2] https://github.com/apache/incubator-brpc-website/tree/asf-site
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] huahang edited a comment on issue #7: Add publisher script

Posted by GitBox <gi...@apache.org>.
huahang edited a comment on issue #7: Add publisher script
URL: https://github.com/apache/incubator-nuttx-website/pull/7#issuecomment-570908074
 
 
   @btashton Hi Brennan, I tried the `publish.sh` script. I think the link to the original version is very nice~
   :-)
   
   One thing I've noticed is that this script will put the generated files inside a `content` folder like the Apache Daffodil project [1]. This is different from the Apache brpc project which places the files in `asf-site`'s root folder [2]. Maybe both are supported. We may want to have a try after your other 2 PRs are merged.
   :-P
   
   [1](https://github.com/apache/incubator-daffodil-site/tree/asf-site)
   [2](https://github.com/apache/incubator-brpc-website/tree/asf-site)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] btashton commented on issue #7: Add publisher script

Posted by GitBox <gi...@apache.org>.
btashton commented on issue #7: Add publisher script
URL: https://github.com/apache/incubator-nuttx-website/pull/7#issuecomment-570921968
 
 
   I just tweaked it to include the asf.yaml
   @huahang can you use the publish script to create a PR against it now? (Probably need to hard reset your local asf-site branch)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] btashton commented on issue #7: Add publisher script

Posted by GitBox <gi...@apache.org>.
btashton commented on issue #7: Add publisher script
URL: https://github.com/apache/incubator-nuttx-website/pull/7#issuecomment-570978830
 
 
   Its much more convenient to have a specific folder to add during the git commit to avoid committing build artifacts (.sass-cache and vendor are created), so until that changes I would prefer to keep it as-is.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] huahang edited a comment on issue #7: Add publisher script

Posted by GitBox <gi...@apache.org>.
huahang edited a comment on issue #7: Add publisher script
URL: https://github.com/apache/incubator-nuttx-website/pull/7#issuecomment-570908074
 
 
   @btashton Hi Brennan, I tried the `publish.sh` script. I think the link to the original version is very nice~
   :-)
   
   One thing I've noticed is that this script will put the generated files inside a `content` folder like the Apache Daffodil project [1]. This is different from the Apache brpc project which places the files in `asf-site`'s root folder [2]. Maybe both are supported. We may want to have a try after your other 2 PRs are merged.
   :-P
   
   [1]: https://github.com/apache/incubator-daffodil-site/tree/asf-site
   [2]: https://github.com/apache/incubator-brpc-website/tree/asf-site
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] justinmclean commented on issue #7: Add publisher script

Posted by GitBox <gi...@apache.org>.
justinmclean commented on issue #7: Add publisher script
URL: https://github.com/apache/incubator-nuttx-website/pull/7#issuecomment-570947320
 
 
   Hi,
   > One thing I've noticed is that this script will put the generated files inside a content folder like the Apache Daffodil project [1]. This is different from the Apache brpc project which places the files in asf-site's root folder. Maybe both are supported. We may want to have a try after your other 2 PRs are merged.
   > :-P
   > 
   
   Both are supported, but the content folder being special may go away at some point in the future. (In fact if you make a directory anywhere called content it will replace your web site, I found that out the hard way a few months back.)
   
   Thanks,
   Justin

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] xiaoxiang781216 merged pull request #7: Add publisher script

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 merged pull request #7: Add publisher script
URL: https://github.com/apache/incubator-nuttx-website/pull/7
 
 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] huahang commented on issue #7: Add publisher script

Posted by GitBox <gi...@apache.org>.
huahang commented on issue #7: Add publisher script
URL: https://github.com/apache/incubator-nuttx-website/pull/7#issuecomment-570901797
 
 
   LGTM

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] huahang edited a comment on issue #7: Add publisher script

Posted by GitBox <gi...@apache.org>.
huahang edited a comment on issue #7: Add publisher script
URL: https://github.com/apache/incubator-nuttx-website/pull/7#issuecomment-570908074
 
 
   @btashton Hi Brennan, I tried the `publish.sh` script. I think the link to the original version is very nice~
   :-)
   
   One thing I've noticed is that this script will put the generated files inside a `content` folder like the Apache Daffodil project [1]. This is different from the Apache brpc project which places the files in `asf-site`'s root folder [2]. Maybe both are supported. We may want to have a try after your other 2 PRs are merged.
   :-P
   
   [1]. https://github.com/apache/incubator-daffodil-site/tree/asf-site
   [2]. https://github.com/apache/incubator-brpc-website/tree/asf-site
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

[GitHub] [incubator-nuttx-website] xiaoxiang781216 commented on issue #7: Add publisher script

Posted by GitBox <gi...@apache.org>.
xiaoxiang781216 commented on issue #7: Add publisher script
URL: https://github.com/apache/incubator-nuttx-website/pull/7#issuecomment-570918462
 
 
   > I have an example of a orphaned asf-site branch as well that I would recommend we use as a starting branch. Someone would need to force it over the existing asf-site branch that is based on master.
   > 
   
   @btashton I just recreate a ampty asf-site branch, please try it.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services