Tags: rk-forks/polylith
Tags
Version 0.2.16-alpha. Pass in project instead of project name as argu… …ment to execute-setup-fn (test orchestrator bug fix). Updated output from create_example.sh script.
Added since:previous-release to the parameter list of the changed-pro… …jects function in build.clj.
Include bricks using :local/root (polyfy#94) * Added workspace.edn + code that reads it in workspace-clj. * Store a deps.edn file per brick: - store library deps per component in the ws structure. - update the 'libs' command to work with the new data structure. - add :input-type to settings, and support both :toolsdeps1 and :toolsdeps2. * Renamed workspace key from test-lib-deps to lib-deps-test, to be more consistent. * Only store name in :lib-deps if input-type is :toolsdeps1. * Changed from :thousand-separator to :thousand-sep in the creator and the help. * Define bricks as :local/root in project files + added deps.edn files per brick. * Create workspace, component and bricks correctly in the 'create' command'. Calculate aliases in :projects in :settings correctly. Removed :polylith from deps.edn. * Generate example project in the example/output directory. * Find workspace root correctly (workspace.edn before deps.edn). Update the example code. * Prefix local/roots with poly/. Added the --multi-release argument to uberjar to remove the "WARNING: sun.reflect.Reflection.getCallerClass is not supported" warning. * Changed from input-type to ws-type. Changed the "create brick" message. Updated the example script. Removed :aliases from projects (with test paths). * Don't save :ns-to-lib if ws-type is :toolsdeps2. * Added support for filtering out what tests should be included in each project. Renamed from :empty-char to :empty-character. Updated documentation. * Refactored workspace-clj, prepare for reading Leiningen projects. * Support reading Leiningen projects (work in progress). * Calculate the project aliases correctly. * Updated how to read paths from projects (work in progress). * Support the case when a brick is only defined as a test dependency. * Also include libraries used in tests in the 'libs' command. * Also view test library dependencies in the 'libs' command. * Made sure :path is always included when calculating size for a library. Updated to corrrect contact email. * Also include the namespace to test in the test namespace when creating bricks. Updated the help for the 'libs' command. Updated the help with a note about how the tool finds dependencies and paths. * Added the dev-common namespace to dev. * Show profiles as one character in the libs command. * Fixed a newly introduced bug, in how to generate a "system under test" :require namespace for components and bases. Updated the lib-table test. * Updated one more test. * - rewrote the dependency calculation, to support test dependencies, used by the 'test', 'info', and 'deps' commands. - new column 'dev' in the projects section when running the info command. - use depstar for the examples and also by the polylith project itself. - new column 'type' in the libs command. - support for passing in e.g. since:SHA, since:head, or since:head~1. - circular dependencies are also calculated for the test context in validation 104. - changes to the ws structure: - merged :src-paths and :test-paths into :paths. - merged :base-names and :test-base-names into :base-names - merged :component-names and test-component-names into :component-names - merged :namespaces-src and :namespaces-test merged into :namespaces - merged :lines-of-code-src and :lines-of-code-test into :lines-of-code - merged :lib-imports-src and :lib-imports-test into :lib-imports - moved in :lines-of-code-total into :lines-of-code as the key :total - also calculate test dependencies for :lib-deps. - also calculate test dependencies for :interface-deps. - added support for indirect test changes to :project-to-indirect-changes. - added test dependencies to :deps, changed from :direct-ifc to :missing-ifc + two new keys :direct and :indirect. - renamed :total-lines-of-code to :lines-of-code-total - new attribute :on-disk for :paths that contains existing paths on disk. - indirect test dependencies are also included when calculating :bricks-to-test-for-project. - if :all is passed in to the deps command, e.g. 'poly deps project:PROJECT :all', then all bricks are included in the columns. - validation 107 also includes missing components in the test context. - test depenedencies are also shown in the deps command as a "t", and suffixed with " (t)" if a brick is given. - indirect test dependencies are shown as '-' in the 'deps' command when a project is given. - possible to execute "poly ws get:settings:vcs:latest-sha branch:master" to show the latest git sha. - :thousand-separator in ~/.polylith/config.edn changed to use "." because the centered dot was shown as ? in some setups. - merged PR polyfy#74 + polyfy#87 + polyfy#86 from master. - improved test coverage of the polylith codebase itself. * Updated comment in deps.edn. * Added support for local workspaces inside git repos * - updated version to issue66.06 - added support for :override-deps in projects. - fleshed out the documentation under the libraries section. - :git/url dependency now working for the test command. * Added support for :tag-patterns to workspace.edn. Optimized a slow test. * Version issue66-08. Support for :override-deps for the test context. Support for skip:PROJECT. Support for creating a workspace at the root of a git repo. Added instructions on how to use the issue-66 branch at the top of the readme. Added CI section in the readme. Use temp directory in the example script. * issue-66.09: - Replaced org.apache.logging.log4j/log4j-core and org.apache.logging.log4j/log4j-slf4j-impl with org.slf4j/slf4j-nop. - Moved polylith related git settings to :settings:vcs:polylith. - Made it possible to create a workspace for a given branch + changed the default to 'main'. - Disallow . in brick names. - Added Upgrade section in the doc. - Handle missing git tag in the 'diff' command correctly. - Renamed ws key from :git-command to :git-diff-command. * issue-66.10: - Create ~/.polylith/config.edn file if not exists when executing the poly command. - Pass in JVM_OPTS in the poly command script. - Resolve library versions correctly if used in more than one brick. - Added :auto-add to the :vcs key, e.g. {:name "git", :auto-add false}, that will only add files and directories to git when executing the create command if set to true. - Only retrieve the latest sha if :latest-sha is passed in + make sure that it works offline. - Updated the help. * issue-66.11: - create the new 'ws-file' component and moved all related code into it. - put all version information into the root :version key of the workspace structure. - store old user input in the root :old key of the workspace structure. - automatically convert ws structures from :toolsdepa1 to the latest :toolsdeps2 format. - calculate and show libraries correctly for :toolsdepa1 workspaces (bug). * Version issue66.12: - Reactivate warning 107 again + also warn for components that are indirectly missing. * issue-66.13 - handle the case when a test namespace is commented out. - store :projects > :test as :projects > :test > :include in the :settings key in the ws structure. * Fixed some failing tests that had invalid comparison data. * Support older versions of git which does not accept branch name with the init command * Reverted some changes to test data * Fixed the test data for the m2 directory * Replace clj-time with metosin/malli for tests since it's included in the polylith's deps already * Trying to fix the issue that some dependencies do not exist in .m2 when running the tests * Increment tools-deps version in CI * issue66.14 - only include brick paths (src,test,resources) if exists on disk. - update t.d.a to 0.11.931. - disallow creating bricks and projects in :toolsdeps1 workspaces. - increased the create-example script with :toolsdeps1 polylith test. - calculate :paths for bricks. - calculate project paths and deps based on brick paths and deps. - handle the case when a brick has no 'src' directory. - fixed a bug in how maven library versions are resolved. - only consider interface names when calculating interface dependencies. - fixed NPE problem when path is nil in the dependency calculation. * issue-66.15: - Fixed a bug in the calculation of dependencies + how to handle :override-deps. - Show only one status character for projects for the 'libs' command instead of two. - Show flags for the 'info' command as 'stx' and 'srtx' instead of only x's (see issue polyfy#90). * issue66.16 - Make sure external :local/root paths are relative to the workspace root (bug fix). * issue-66.17 Calculate absolute path for :local/root projects correctly + the size (bug). * issue-66.18 Calculate test path for external :local/root for the development project correctly (bug fix). * issue-66.19 - Updated all images and the documentation to use the latest way of showing flags, 'stx' instead of 'xxx'. - Updated t.d.a to 0.12.985. * Removed ws-file/test directory from deps since it does not exist. * Resolve dependencies for test workspace before executing workspace tests. * issue-66.20 - Support for ~ as synonym for USER-HOME when giving ws-dir:DIR. - Moved the example directory to scripts. - Store the example in the documentation in examples/doc-example. - Calculate the diff for internal workspaces correct. - Never store bricks as nil in :changes. - Added examples/local-dep and examples/local-dep-old-format. - Upgraded t.d.a to 0.12.1003. - Fixed a bug, so that we store :aliases > :test > :extra-paths in a vector instead of a string for :toolsdeps1 formats. - Stop deploy the poly-migrator. - Added instruction on how to migrate. - Activated the migrate command. - Take library version from ./deps.edn when reading :toolsdeps1 workspaces. * Fixed a bug in the migrator component * Fixed formatting of deps.edn for projects after the migration. * issue-66.21 - Fixed the dependency calculation to handle when a component only exists in the test context and depend on another component that only exists in the test context, that depend on a component that exists in the src context. - Support components that have no 'src' directory. - Corrected the migration instruction (changed from :name to :alias). - Added tests. * issue66.22 - Quit without exception with <crtl>+D from the prompt. - Fixed formatting issues for the libs command (when compact view) + the deps command. * issue66.23 - read 'deps.edn' config files using tools-deps. - show the KB column as '-' for missing libraries in the 'libs' command. - updated links to commands in the doc. - added help for the internal 'ws' structure. - updated the Polylith logo that is used when creating a workspace. - store :settings > :interface-ns as a map in the internal ws structure, with the attributes :name and :root-ns?. - made the output from create-example.sh script more stable, by introducing the 'replace' parameter. * issue66.24 Stop using t.d.a to slurp deps.edn files. * issue66.25 Start using t.d.a to read deps.edn files again. * issue66.26 Reverted the last interface-ns change. * Updated to version v0.2.0-alpha10. * Updated doc from issue-66 to master. * Commented out test (to be fixed later). Co-authored-by: Furkan Bayraktar <me@furkanbayraktar.com>
PreviousNext