You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by "wpiet (via GitHub)" <gi...@apache.org> on 2024/04/15 14:26:20 UTC

[PR] site: update build.py [mynewt-site]

wpiet opened a new pull request, #545:
URL: https://github.com/apache/mynewt-site/pull/545

   The build script now checks if 'bsp.exclude_site' has been set in board's bsp.yml, allowing certain boards to be excluded from the 'Supported Boards' section on the mynewt main page. Also, boards are now sorted alphabetically.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] site: update build.py [mynewt-site]

Posted by "sjanc (via GitHub)" <gi...@apache.org>.
sjanc merged PR #545:
URL: https://github.com/apache/mynewt-site/pull/545


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] site: update build.py [mynewt-site]

Posted by "utzig (via GitHub)" <gi...@apache.org>.
utzig commented on code in PR #545:
URL: https://github.com/apache/mynewt-site/pull/545#discussion_r1566221029


##########
build.py:
##########
@@ -66,16 +66,19 @@ def find_BSPs():
     for bsp in listdir(bsp_dir):
         with open(path.join(bsp_dir, bsp, "bsp.yml"), 'r') as f:
             data = yaml.full_load(f)
+            if 'bsp.exclude_site' in data and data['bsp.exclude_site'] == 1:

Review Comment:
   This line could be written: `if data.get('bsp.exclude_site') == 1:`.



-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@mynewt.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org