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

Assemblies and namespaces reorganised #737

Merged
merged 3 commits into from
Jun 1, 2020

Conversation

pawelbaran
Copy link
Member

@pawelbaran pawelbaran commented May 29, 2020

Issues addressed by this PR

Closes #517

Test files

Standard macro tests on SharePoint - everything should work as before.

IMPORTANT: Since this PR changes folder and assembly names, it is recommended to clean the Revit_Toolkit GitHub folder as well as clean the BHoM/Assemblies before testing.

Changelog

  • Adapter_Revit_UI and Revit_UI projects have been merged into a single project named Revit_Core_Adapter with default namespace being BH.Revit.Adapter.Core
  • Revit_Engine_UI has been renamed to Revit_Core_Engine with default namespace being BH.Revit.Engine.Core
  • files in the above have been slightly reorganised to make the structure more logical
  • references, assemblyInfos, Revit manifest files etc. have been updated following the above
  • SetTags and SetIdentifiers methods were centralized inside Revit_Core_Engine, unused messages have been removed
  • RevitUIAdapter has been renamed to RevitListenerAdapter
  • BH.oM.Adapters.Revit.Interface namespace has been eliminated with all interfaces being moved across to their relevant subnamespaces

Additional comments

Although the PR is massive, it should not change the mechanics of the code by any means. Thanks to the fact that most of the code base is not exposed by any of the UIs, almost no versioning was needed.

@FraserGreenroyd due to the change in assembly structure, I would expect following issues;

  • CI being unhappy about missing assemblies
  • Installer being unhappy because of missing assemblies
  • End user being unhappy because of the old assemblies not being cleaned up by the installer

Happy to assist with resolving these 🤖

@pawelbaran pawelbaran added the type:compliance Non-conforming to code guidelines label May 29, 2020
@pawelbaran pawelbaran requested a review from rwemay as a code owner May 29, 2020 11:51
@pawelbaran pawelbaran self-assigned this May 29, 2020
@pawelbaran
Copy link
Member Author

/azp run Revit_Toolkit.CheckCore

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@pawelbaran
Copy link
Member Author

/azp run Revit_Toolkit.CheckInstaller

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link

@AndreBalasian AndreBalasian left a comment

Choose a reason for hiding this comment

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

Compiles and works. The code looks good.

AndreBalasian
AndreBalasian previously approved these changes May 29, 2020
Copy link

@AndreBalasian AndreBalasian left a comment

Choose a reason for hiding this comment

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

Compiles and works. The code looks good.

@pawelbaran pawelbaran changed the title Assemblies and namespaces reorganized Assemblies and namespaces reorganised May 29, 2020
@pawelbaran
Copy link
Member Author

/azp run Revit_Toolkit.CheckInstaller

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link

@AndreBalasian AndreBalasian left a comment

Choose a reason for hiding this comment

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

Compiles without problems, the refactoring LGTM

Copy link
Contributor

@kThorsager kThorsager left a comment

Choose a reason for hiding this comment

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

Builds well and tested,
LGTM

@pawelbaran pawelbaran merged commit d00b87f into master Jun 1, 2020
@pawelbaran pawelbaran deleted the Revit_Toolkit#517-RenamingAssemblies branch June 1, 2020 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:compliance Non-conforming to code guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Revit_Toolkit: Clean up namespace/assembly names
3 participants