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

feat(package)!: the repo is now a unity package #106

Conversation

Morgan-6Freedom
Copy link
Contributor

@Morgan-6Freedom Morgan-6Freedom commented Jan 16, 2024

@mrbusysky I have drastically changed the folders.

About installation :

With this new structure, users will be able to add the plugin really easily :

  1. Open Unity
  2. Window=>PackageManager=>[+]
  3. Copy paste this link : https://github.com/scenario-labs/Scenario-Unity.git
    image

No need for a zip file or a release tab in the github anymore !

About github actions

The package.json that was refering to the github actions was putted in the Github Action folder.
GithubActions~/ folder has a ~ to specify to Unity that it should not downlod this from the package manager.

So I imagine that the github actions won't work anymore with this folder structure :

  1. Why do we need thoses gitub action ?
  2. I think we can remove it, what do you think ?

@qvaleroo
Copy link
Collaborator

The github action release-please is used to generate a PR automatically with a changelog based on merged PR + release number increase (example here: #86). Doc here: https://github.com/googleapis/release-please
Then when this PR is merged, it automatically add a tag, and so we have the changelog and the version in the Release tab of GitHub: https://github.com/scenario-labs/Scenario-Unity/releases

If we delete the github action, how do we build the changelog, and how can we communicate on a new version available and the release note?

@Morgan-6Freedom
Copy link
Contributor Author

  1. We don't need a release page anymore on github. Because people will use a link instead of a zip file.
  2. about the changelog : either the developers write it when they do their PR, either we fix the github action to automatically fill the changelog

@Morgan-6Freedom Morgan-6Freedom changed the title fix(package): the repo is now a unity package #105 feat(package): the repo is now a unity package #105 Jan 18, 2024
@Morgan-6Freedom Morgan-6Freedom changed the title feat(package): the repo is now a unity package #105 feat!(package): the repo is now a unity package #105 Jan 18, 2024
@Morgan-6Freedom Morgan-6Freedom changed the title feat!(package): the repo is now a unity package #105 feat(package)!: the repo is now a unity package #105 Jan 18, 2024
@Morgan-6Freedom
Copy link
Contributor Author

ok now everything that is Unity related is under /package folder
Github actions should work as expected.
And I changed the readme to explain how to install it

@Morgan-6Freedom Morgan-6Freedom changed the title feat(package)!: the repo is now a unity package #105 feat(package)!: the repo is now a unity package Jan 18, 2024
@Morgan-6Freedom Morgan-6Freedom changed the title feat(package)!: the repo is now a unity package feat(package)!: the repo is now a unity package Jan 18, 2024
@Morgan-6Freedom
Copy link
Contributor Author

Morgan-6Freedom commented Jan 18, 2024

We still need to update this page with this two screenshots :
2024-01-18 15_55_58-Test - Untitled - Android - Unity 2021 3 32f1 Personal _DX11_
2024-01-18 16_16_49-Tech House - Inbox - Tech House - Outlook

@qvaleroo qvaleroo merged commit 9aeff4a into develop Jan 19, 2024
1 check passed
@qvaleroo qvaleroo deleted the 105-make-the-unity-plugin-a-package-that-can-be-imported-by-only-putting-the-github-link-in-the-unity-package-manager branch January 19, 2024 16:07
qvaleroo added a commit that referenced this pull request Jan 26, 2024
* feat(package)!: the repo is now a unity package (#106)

* move every files in correct folder

* added & rename asmdef

* fix readme

* Update package.json

* fix: assembly definition

* feat!: change the folders architecture

* Create .gitignore

* feat: update the readme to explain how to install

* fix: remove deeplink WIP

* fix(versionumber): the updateversionfrompackagejson function should not use a static path (#103)

* change to a dynamic path

it now use a dynamic path based on the assembly definition

* fix: because the folder structure have changed

* chore: upgrade version

---------

Co-authored-by: Morgan - 6 Freedom <[email protected]>
qvaleroo added a commit that referenced this pull request Jan 26, 2024
* Release to download the repo from GitHub URL (#110)

* feat(package)!: the repo is now a unity package (#106)

* move every files in correct folder

* added & rename asmdef

* fix readme

* Update package.json

* fix: assembly definition

* feat!: change the folders architecture

* Create .gitignore

* feat: update the readme to explain how to install

* fix: remove deeplink WIP

* fix(versionumber): the updateversionfrompackagejson function should not use a static path (#103)

* change to a dynamic path

it now use a dynamic path based on the assembly definition

* fix: because the folder structure have changed

* chore: upgrade version

---------

Co-authored-by: Morgan - 6 Freedom <[email protected]>

* (fix): push meta files

---------

Co-authored-by: qvaleroo <[email protected]>
qvaleroo added a commit that referenced this pull request Jan 26, 2024
* feat(package)!: the repo is now a unity package (#106)

* move every files in correct folder

* added & rename asmdef

* fix readme

* Update package.json

* fix: assembly definition

* feat!: change the folders architecture

* Create .gitignore

* feat: update the readme to explain how to install

* fix: remove deeplink WIP

* fix(versionumber): the updateversionfrompackagejson function should not use a static path (#103)

* change to a dynamic path

it now use a dynamic path based on the assembly definition

* fix: because the folder structure have changed

* chore: upgrade version

* fix(package): add missing meta files (#112)

* Release to download the repo from GitHub URL (#110)

* feat(package)!: the repo is now a unity package (#106)

* move every files in correct folder

* added & rename asmdef

* fix readme

* Update package.json

* fix: assembly definition

* feat!: change the folders architecture

* Create .gitignore

* feat: update the readme to explain how to install

* fix: remove deeplink WIP

* fix(versionumber): the updateversionfrompackagejson function should not use a static path (#103)

* change to a dynamic path

it now use a dynamic path based on the assembly definition

* fix: because the folder structure have changed

* chore: upgrade version

---------

Co-authored-by: Morgan - 6 Freedom <[email protected]>

* (fix): push meta files

---------

Co-authored-by: qvaleroo <[email protected]>

---------

Co-authored-by: Morgan - 6 Freedom <[email protected]>
qvaleroo added a commit that referenced this pull request Feb 19, 2024
* feat(package)!: the repo is now a unity package (#106)

* move every files in correct folder

* added & rename asmdef

* fix readme

* Update package.json

* fix: assembly definition

* feat!: change the folders architecture

* Create .gitignore

* feat: update the readme to explain how to install

* fix: remove deeplink WIP

* fix(versionumber): the updateversionfrompackagejson function should not use a static path (#103)

* change to a dynamic path

it now use a dynamic path based on the assembly definition

* fix: because the folder structure have changed

* chore: upgrade version

* fix(package): add missing meta files (#112)

* Release to download the repo from GitHub URL (#110)

* feat(package)!: the repo is now a unity package (#106)

* move every files in correct folder

* added & rename asmdef

* fix readme

* Update package.json

* fix: assembly definition

* feat!: change the folders architecture

* Create .gitignore

* feat: update the readme to explain how to install

* fix: remove deeplink WIP

* fix(versionumber): the updateversionfrompackagejson function should not use a static path (#103)

* change to a dynamic path

it now use a dynamic path based on the assembly definition

* fix: because the folder structure have changed

* chore: upgrade version

---------

Co-authored-by: Morgan - 6 Freedom <[email protected]>

* (fix): push meta files

---------

Co-authored-by: qvaleroo <[email protected]>

* fix(promptimage): put all the button in a vertical way

* fix(promptimage): update buttons wording

* chore(promptimage): put some comments and clean up some code

* feat(promptimage): has now a scrollview for the selected image section

* chore(promptimage): clean up code

* fix(promptimage): some texts were not visible at the end of the scrollable area

* feat(promptimage): somes buttons now display messages to the user when using them

* feat(promptimage): when clicking on "Set image as ref" it opens the prompt window with Image to Image tab selected

* fix(promptimage): selecting another image wasn't resetting the detail panel

* chore(promptimage): clean code

* fix(121): guidance is now a float

* feat(settings): there is a default texture importer and user can change it

also move the Settings script in a folder

* chore(presets): change the name of the default texture importer and add a default sprite importer

* chore(settings): remove unused stuff

* fix(promptimage): reset selectedTexture after clearing all images

* fix(settings): default preset was not loaded at start

* feat(settings): add a sprite preset

* chore(commonutils): refactored and renamed some functions about saving images

* feat(promptimage): prompt image window now has a download as sprite button

* fix(promptimage): the delete button is now at the end

* fix(promptwindow): invert the influence value to make more sense and match the webapp - closes #123 (#127)

* fix(promptwindow): strengh is now 1-influence

* feat(promptwindow): added a tooltip for influence

* fix(promptwindow) change max and min value for influence

* fix: influence is now between 0 & 99 (and strength between 0.01 & 1.0)

* fix(settings): load preset when opening the settings

* feat(promptimage): downloaded sprite uses the UsePixelUnits

* fix(settings): remove JPG/PNG settings - closes #129 (#130)

* fix(settings): remove JPG/PNG settings

* fix(settings): fix merge

* chore: put everything in the correct namespace

* fix(settings): remove image format

* chore(tilecreator): wip

* fix(tilecreator): merge fix

* feat(promptimage): download as sprite - closes #114 (#131)

* feat(settings): add a sprite preset

* chore(commonutils): refactored and renamed some functions about saving images

* feat(promptimage): prompt image window now has a download as sprite button

* fix(promptimage): the delete button is now at the end

* feat(promptimage): downloaded sprite uses the UsePixelUnits

* fix(settings): remove image format

* feat(settings): add tiles settings

* feat(tilecreator): tiles are added in the tile palette

* feat(tilecreator): add a default rectangle tile importer

* fix(images): images window is now like the promptimages window

* fix(images): improve ui

* fix(images): improve UI

* fix(images): images are loading now one by one

* fix(imagedata): wasn't able to manage progress

* feat(images): images window is now able to show generations

* chore(promptImage): remove PromptImage scripts

* fix(images): action buttons works for images

* fix(images): delete button now works

* fix(images): delete button now works

* fix(images): when doing a new generation, do not reload all images

* fix(images): infos were not displayed for recently prompted images

* fix(images): delete button wasn't working with recently prompted images

* fix(images): the Load More button works only once

* fix(images): Download as tile wasn't working

* fix: seed wasn't displaying for newly generated images

* fix: sampling steps is now an int

* fix(images): when removing background, it will also search in the recently prompted images

* Update Images.cs

* chore(devexp): upgrade version

---------

Co-authored-by: Morgan - 6 Freedom <[email protected]>
Co-authored-by: Morgan - 6Freedom <[email protected]>
qvaleroo added a commit that referenced this pull request Mar 18, 2024
* Release 0.5.0 (#140)

* feat(package)!: the repo is now a unity package (#106)

* move every files in correct folder

* added & rename asmdef

* fix readme

* Update package.json

* fix: assembly definition

* feat!: change the folders architecture

* Create .gitignore

* feat: update the readme to explain how to install

* fix: remove deeplink WIP

* fix(versionumber): the updateversionfrompackagejson function should not use a static path (#103)

* change to a dynamic path

it now use a dynamic path based on the assembly definition

* fix: because the folder structure have changed

* chore: upgrade version

* fix(package): add missing meta files (#112)

* Release to download the repo from GitHub URL (#110)

* feat(package)!: the repo is now a unity package (#106)

* move every files in correct folder

* added & rename asmdef

* fix readme

* Update package.json

* fix: assembly definition

* feat!: change the folders architecture

* Create .gitignore

* feat: update the readme to explain how to install

* fix: remove deeplink WIP

* fix(versionumber): the updateversionfrompackagejson function should not use a static path (#103)

* change to a dynamic path

it now use a dynamic path based on the assembly definition

* fix: because the folder structure have changed

* chore: upgrade version

---------

Co-authored-by: Morgan - 6 Freedom <[email protected]>

* (fix): push meta files

---------

Co-authored-by: qvaleroo <[email protected]>

* fix(promptimage): put all the button in a vertical way

* fix(promptimage): update buttons wording

* chore(promptimage): put some comments and clean up some code

* feat(promptimage): has now a scrollview for the selected image section

* chore(promptimage): clean up code

* fix(promptimage): some texts were not visible at the end of the scrollable area

* feat(promptimage): somes buttons now display messages to the user when using them

* feat(promptimage): when clicking on "Set image as ref" it opens the prompt window with Image to Image tab selected

* fix(promptimage): selecting another image wasn't resetting the detail panel

* chore(promptimage): clean code

* fix(121): guidance is now a float

* feat(settings): there is a default texture importer and user can change it

also move the Settings script in a folder

* chore(presets): change the name of the default texture importer and add a default sprite importer

* chore(settings): remove unused stuff

* fix(promptimage): reset selectedTexture after clearing all images

* fix(settings): default preset was not loaded at start

* feat(settings): add a sprite preset

* chore(commonutils): refactored and renamed some functions about saving images

* feat(promptimage): prompt image window now has a download as sprite button

* fix(promptimage): the delete button is now at the end

* fix(promptwindow): invert the influence value to make more sense and match the webapp - closes #123 (#127)

* fix(promptwindow): strengh is now 1-influence

* feat(promptwindow): added a tooltip for influence

* fix(promptwindow) change max and min value for influence

* fix: influence is now between 0 & 99 (and strength between 0.01 & 1.0)

* fix(settings): load preset when opening the settings

* feat(promptimage): downloaded sprite uses the UsePixelUnits

* fix(settings): remove JPG/PNG settings - closes #129 (#130)

* fix(settings): remove JPG/PNG settings

* fix(settings): fix merge

* chore: put everything in the correct namespace

* fix(settings): remove image format

* chore(tilecreator): wip

* fix(tilecreator): merge fix

* feat(promptimage): download as sprite - closes #114 (#131)

* feat(settings): add a sprite preset

* chore(commonutils): refactored and renamed some functions about saving images

* feat(promptimage): prompt image window now has a download as sprite button

* fix(promptimage): the delete button is now at the end

* feat(promptimage): downloaded sprite uses the UsePixelUnits

* fix(settings): remove image format

* feat(settings): add tiles settings

* feat(tilecreator): tiles are added in the tile palette

* feat(tilecreator): add a default rectangle tile importer

* fix(images): images window is now like the promptimages window

* fix(images): improve ui

* fix(images): improve UI

* fix(images): images are loading now one by one

* fix(imagedata): wasn't able to manage progress

* feat(images): images window is now able to show generations

* chore(promptImage): remove PromptImage scripts

* fix(images): action buttons works for images

* fix(images): delete button now works

* fix(images): delete button now works

* fix(images): when doing a new generation, do not reload all images

* fix(images): infos were not displayed for recently prompted images

* fix(images): delete button wasn't working with recently prompted images

* fix(images): the Load More button works only once

* fix(images): Download as tile wasn't working

* fix: seed wasn't displaying for newly generated images

* fix: sampling steps is now an int

* fix(images): when removing background, it will also search in the recently prompted images

* Update Images.cs

* chore(devexp): upgrade version

---------

Co-authored-by: Morgan - 6 Freedom <[email protected]>
Co-authored-by: Morgan - 6Freedom <[email protected]>

* Update README.md

Add an image to explain how to update the package

* chore(devexp): remove release please

* chore: modify changelog url

---------

Co-authored-by: Morgan - 6 Freedom <[email protected]>
Co-authored-by: Morgan - 6Freedom <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants