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

Use a consistent bundle ID for all examples. #3020

Merged
merged 2 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changes/3020.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Inconsistencies in bundle IDs in the example apps were normalized.
2 changes: 1 addition & 1 deletion examples/hardware/hardware/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ async def request_background_location(self, widget, **kwargs):


def main():
return ExampleHardwareApp("Hardware", "org.beeware.examples.hardware")
return ExampleHardwareApp("Hardware", "org.beeware.toga.examples.hardware")


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion examples/hardware/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["briefcase"]

[tool.briefcase]
project_name = "Hardware"
bundle = "org.beeware.examples"
bundle = "org.beeware.toga.examples"
version = "0.0.1"
url = "https://beeware.org"
license.file = "LICENSE"
Expand Down
2 changes: 1 addition & 1 deletion examples/simpleapp/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["briefcase"]

[tool.briefcase]
project_name = "Simple App"
bundle = "org.beeware"
bundle = "org.beeware.toga.examples"
version = "0.0.1"
url = "https://beeware.org"
license.file = "LICENSE"
Expand Down
2 changes: 1 addition & 1 deletion examples/simpleapp/simpleapp/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def startup(self):


def main():
return ExampleSimpleApp("Simple App", "org.beeware.simpleapp")
return ExampleSimpleApp("Simple App", "org.beeware.toga.examples.simpleapp")


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial0/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["briefcase"]

[tool.briefcase]
project_name = "Tutorial 0"
bundle = "org.beeware.toga"
bundle = "org.beeware.toga.examples"
version = "0.0.1"
url = "https://beeware.org"
license.file = "LICENSE"
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial0/tutorial/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def build(app):


def main():
return toga.App("First App", "org.beeware.toga.tutorial", startup=build)
return toga.App("First App", "org.beeware.toga.examples.tutorial", startup=build)


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial1/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["briefcase"]

[tool.briefcase]
project_name = "Tutorial 1"
bundle = "org.beeware.toga"
bundle = "org.beeware.toga.examples"
version = "0.0.1"
url = "https://beeware.org"
license.file = "LICENSE"
Expand Down
6 changes: 5 additions & 1 deletion examples/tutorial1/tutorial/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ def calculate(widget):


def main():
return toga.App("Temperature Converter", "org.beeware.toga.tutorial", startup=build)
return toga.App(
"Temperature Converter",
"org.beeware.toga.examples.tutorial",
startup=build,
)


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial2/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["briefcase"]

[tool.briefcase]
project_name = "Tutorial 2"
bundle = "org.beeware.toga"
bundle = "org.beeware.toga.examples"
version = "0.0.1"
url = "https://beeware.org"
license.file = "LICENSE"
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial2/tutorial/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def action4(widget):


def main():
return Tutorial2App("Tutorial 2", "org.beeware.toga.tutorial")
return Tutorial2App("Tutorial 2", "org.beeware.toga.examples.tutorial")


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial3/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["briefcase"]

[tool.briefcase]
project_name = "Tutorial 3"
bundle = "org.beeware.toga"
bundle = "org.beeware.toga.examples"
version = "0.0.1"
url = "https://beeware.org"
license.file = "LICENSE"
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial3/tutorial/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def on_webview_loaded(self, widget):


def main():
return Graze("Graze", "org.beeware.tutorial")
return Graze("Graze", "org.beeware.toga.examples.tutorial")


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion examples/tutorial4/tutorial/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ async def on_press(self, widget, x, y, **kwargs):


def main():
return StartApp("Tutorial 4", "org.beeware.toga.tutorial")
return StartApp("Tutorial 4", "org.beeware.toga.examples.tutorial")


if __name__ == "__main__":
Expand Down
Loading