Title: Breaking: Adapt coreutils dev file structure by GunterSchmidt · Pull Request #201 · uutils/diffutils · GitHub
Open Graph Title: Breaking: Adapt coreutils dev file structure by GunterSchmidt · Pull Request #201 · uutils/diffutils
X Title: Breaking: Adapt coreutils dev file structure by GunterSchmidt · Pull Request #201 · uutils/diffutils
Description: Adapting the project structure to the coreutils structure. coreutils uses a source code tree, which has each tool in a separate dir unter /uu, a separate library tree and the main file under /bin. Also a number of features are available in another directory. Adaptiong this structure allows more usage of the coreutils macros and methods. It makes it easier for the developers to navigate when working in both projects. Each utility can now be opened standalone which makes it also easier to test and benchmark. Since it is a file location restructure, the commit is containing a lot of files. All files were left unchanged as much as possible and mostly the import locations were changed. Changes: A workspace is introduced, currently with the members uudiff (library) and the utilities uu/cmp and uu/diff. main.rs is now /bin/diffutils.rs the uumain method is now used as entry point to the utility all utilites have a separate folder under /uu Exitcodes are now i32 and push to coreutils only has License files for MIT args are now read by using uucore::args_os() context_diff and unified_diff now use TempDir benches are separated for each utility and have centralized support functions Issues: The uucore::bin! macro needs to be implemented for all main functions. Currently missing internationalization. Tests must be run with "cargo test --workspace". Unclear, if features can be defined globally. Clarification of the Licenses needed.
Open Graph Description: Adapting the project structure to the coreutils structure. coreutils uses a source code tree, which has each tool in a separate dir unter /uu, a separate library tree and the main file under /bin. ...
X Description: Adapting the project structure to the coreutils structure. coreutils uses a source code tree, which has each tool in a separate dir unter /uu, a separate library tree and the main file under /bin. ...
Opengraph URL: https://github.com/uutils/diffutils/pull/201
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:fbb1cf9d-e3e6-1ac4-eef6-5f31f9bc5b15 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B062:3AF9A7:35DE2EB:49F7CDA:6A4F33F4 |
| html-safe-nonce | 6221364a9a97d6ba27eeb54644c5b6f180fa02521b910da890fadd221a1833e7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDYyOjNBRjlBNzozNURFMkVCOjQ5RjdDREE6NkE0RjMzRjQiLCJ2aXNpdG9yX2lkIjoiNzk4OTc2NDkyMTkyNjU2MjgwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | be13cb6dbe56319f0797ca9d21ae016c59b0ce555077f966a77d38f7b999d411 |
| hovercard-subject-tag | pull_request:3392183348 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/uutils/diffutils/pull/201/files |
| twitter:image | https://avatars.githubusercontent.com/u/98484717?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/98484717?s=400&v=4 |
| og:image:alt | Adapting the project structure to the coreutils structure. coreutils uses a source code tree, which has each tool in a separate dir unter /uu, a separate library tree and the main file under /bin. ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/uutils/diffutils git https://github.com/uutils/diffutils.git |
| octolytics-dimension-user_id | 5148717 |
| octolytics-dimension-user_login | uutils |
| octolytics-dimension-repository_id | 341787720 |
| octolytics-dimension-repository_nwo | uutils/diffutils |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 341787720 |
| octolytics-dimension-repository_network_root_nwo | uutils/diffutils |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width