Title: bcf - move common code to a separate subpackage · Issue #5169 · IfcOpenShell/IfcOpenShell · GitHub
Open Graph Title: bcf - move common code to a separate subpackage · Issue #5169 · IfcOpenShell/IfcOpenShell
X Title: bcf - move common code to a separate subpackage · Issue #5169 · IfcOpenShell/IfcOpenShell
Description: There is a lot of shared code between bcf v2 and v3 and we should move it to some common place so it will be possible to maintain it in a more sane way, now every change should be implemented twice resulting in 0f03e41 or 3e7a2c1. Any id...
Open Graph Description: There is a lot of shared code between bcf v2 and v3 and we should move it to some common place so it will be possible to maintain it in a more sane way, now every change should be implemented twice...
X Description: There is a lot of shared code between bcf v2 and v3 and we should move it to some common place so it will be possible to maintain it in a more sane way, now every change should be implemented twice...
Opengraph URL: https://github.com/IfcOpenShell/IfcOpenShell/issues/5169
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bcf - move common code to a separate subpackage","articleBody":"There is a lot of shared code between bcf v2 and v3 and we should move it to some common place so it will be possible to maintain it in a more sane way, now every change should be implemented twice resulting in 0f03e41 or 3e7a2c1.\r\n\r\nAny ideas what would be the best approach for this? Create `common` or `agnostic` folder next to `v2`/`v3` and mimic the structure? E.g. it will have visinfo.py with `build_viewpoint` and will be used both by `v2.visinfo` and `v3.visinfo`, should we also mimic the classes, use inheritance for common methods?\r\n\r\nAre there any other things to consider - not sure what's more used current v2 or v3 but I see v2 much more often and maybe there is some cases when common should be separated? (e.g. v2 and v3 should be able to work as independent packages)","author":{"url":"https://github.com/Andrej730","@type":"Person","name":"Andrej730"},"datePublished":"2024-08-09T14:09:21Z","url":"https://github.com/IfcOpenShell/IfcOpenShell/issues/5169"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:46955955-42d4-ee36-2490-bab24f50f247 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7E8:28C558:5B49AF:7AD9E6:6B04A5D2 |
| html-safe-nonce | 7cd7064733aece10b3059020108a8b0ec9a73a2b8ec0cbcad6dd2f407c308e24 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0U4OjI4QzU1ODo1QjQ5QUY6N0FEOUU2OjZCMDRBNUQyIiwidmlzaXRvcl9pZCI6IjYyMjkwNDczMjIzNzA5NDI0MTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | ba53679f604fa4a5c6c210211033698918913b57a0964932c9b871088bf71c92 |
| hovercard-subject-tag | issue:2458014076 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/IfcOpenShell/IfcOpenShell/5169/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b9558d376a9453ca25fb54c91e177fdc90c33b81897e01d4f00cc75a68414fa4/IfcOpenShell/IfcOpenShell/issues/5169 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b9558d376a9453ca25fb54c91e177fdc90c33b81897e01d4f00cc75a68414fa4/IfcOpenShell/IfcOpenShell/issues/5169 |
| og:image:alt | There is a lot of shared code between bcf v2 and v3 and we should move it to some common place so it will be possible to maintain it in a more sane way, now every change should be implemented twice... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Andrej730 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 188497a0f45a7aa8f7c866faa1950d1a7f8d82b59416adf549b222ad1d1dd19b |
| turbo-cache-control | no-preview |
| go-import | github.com/IfcOpenShell/IfcOpenShell git https://github.com/IfcOpenShell/IfcOpenShell.git |
| octolytics-dimension-user_id | 13692563 |
| octolytics-dimension-user_login | IfcOpenShell |
| octolytics-dimension-repository_id | 40473201 |
| octolytics-dimension-repository_nwo | IfcOpenShell/IfcOpenShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 40473201 |
| octolytics-dimension-repository_network_root_nwo | IfcOpenShell/IfcOpenShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 557cfbac6cdb532730c95c90f2cefdc0c4128029 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width