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

chore!: change package name & asmdefs #1026

Merged
merged 17 commits into from Aug 11, 2021
Merged

Conversation

ThusSpokeNomad
Copy link
Contributor

I'll hold onto this PR for a while until I make sure both Yamato and UPM wouldn't break.

@andrews-unity
Copy link
Contributor

@MFatihMAR have we tested what this PR would do to a project using the old package and would need to update to this package ? I suspect that its going to be somewhat of a pain because of the asmdef change and potentially the script links? I assume there will be some document somewhere to help folks make that migration?

@ThusSpokeNomad
Copy link
Contributor Author

@MFatihMAR have we tested what this PR would do to a project using the old package and would need to update to this package ? I suspect that its going to be somewhat of a pain because of the asmdef change and potentially the script links? I assume there will be some document somewhere to help folks make that migration?

yeah, very good point. I haven't tested or wrote a doc about how to migrate yet.

this PR is still a draft. lots of changes went into develop recently already. this PR is the last gate (except docs & md files, including CHANGELOG -should we change names there retrospectively?) before we finalize package renaming. so I'd expect this PR to be updated a few more times with fixes, guides and other issues. BUT, I wanted to keep the ball rolling here as I imagine this PR to be the last one :)

back to migration doc, I could work with SA folks for that. I could also summarize my own "migration experience" as a baseline. package name change would break codebases for sure because devs now required to update dependencies section of their manifest.json and package.json files. there needs to be a place for these things.

{
"name": "com.unity.netcode.gameobjects",
"displayName": "Netcode for GameObjects",
"description": "Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ThusSpokeNomad ThusSpokeNomad marked this pull request as ready for review August 10, 2021 09:04
@ThusSpokeNomad
Copy link
Contributor Author

I have plans to address namespace/asmdef migration under a separate PR (with MovedFrom attrs & MigrateFromMLAPI.md doc).
I think this PR is ready to go and there is no reason to hold onto it any longer (I constantly merge develop back into this and resolve conflicts / file moves).

Can we get this in?

@ThusSpokeNomad ThusSpokeNomad changed the title chore!: change package name chore!: change package name & asmdefs Aug 10, 2021
Copy link
Contributor

@JesseOlmer JesseOlmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm except for a few unintended changes w/ comments

@mattwalsh-unity
Copy link
Contributor

I notice we still have a Documentation~/MigrateFromMLAPI.md file. Also there is a Documentation~/Manual.md file which references MLAPI. @Briancoughlin are these files still desired?

@ThusSpokeNomad ThusSpokeNomad merged commit 8d4b234 into develop Aug 11, 2021
@ThusSpokeNomad ThusSpokeNomad deleted the chore/package-name branch August 11, 2021 23:16
SamuelBellomo added a commit that referenced this pull request Aug 23, 2021
…nsform

* develop: (21 commits)
  test: adding more details to multiprocess readme (#1050)
  refactor!: convert NetworkTransform.NetworkState to `struct` (#1061)
  fix: networkmanager destroy on app quit (#1011)
  feat: snapshot, using unreliable packets, now that the underlying foundation supports it. Only merge after #1062 (#1064)
  feat: snapshot. Fully integrated despawn, mtt-1092, mtt-1056 (#1062)
  fix: eliminate bad use-after-free(destroy) pattern (#1068)
  chore: cleanup meta files for empty dirs (#1067)
  chore: minor MLAPI to Netcode rename (#1065)
  feat: report network behaviour name to the profiler (#1058)
  fix: player movement (#1063)
  test: Add unit tests for NetworkTime properties (#1053)
  chore: remove authority & netvar perms from NetworkTransform (#1059)
  feat: networktransform pos/rot/sca thresholds on state sync (#1055)
  feat: expose network behaviour type name internally (#1057)
  chore: remove all the old profiling code (#1048)
  fix: if-guard `NetworkManager.__rpc_name_table` access (#1056)
  fix: Disabling fixedupdate portion of SpawnRpcDespawn test because it's failing for known reasons that will be fixed in the IMessage refactor. (#1049)
  feat: Implement metrics for the new network profiler (#960)
  chore!: change package name & asmdefs (#1026)
  feat: per axis networktransform state sync (+bitwise state comp) (#1042)
  ...

# Conflicts:
#	com.unity.netcode.gameobjects/Prototyping/NetworkTransform.cs
mollstam pushed a commit to Keepsake-Games/com.unity.netcode.gameobjects that referenced this pull request Feb 13, 2023
* chore: change package name

* update Unity Transport for Netcode for GameObjects description

* update manual.md

* add `MigrateFromMLAPI.md`

* mark public types with appropriate `[MovedFrom(...)]` attributes

* add namespace

* undo MovedFrom attrs

* update package description

* nuke Documentation~

* fix bad merge

* put Documentation~ back (due to package validation)

* update CODEOWNERS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants