{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":776721967,"defaultBranch":"master","name":"cpkg","ownerLogin":"DvvCz","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-03-24T09:56:58.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/86097860?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1717390243.0","currentOid":""},"activityList":{"items":[{"before":"ec115eb1ce621806fe84abe80a840f399f0b7103","after":"8c78685e296885e086bb98b650d6d27baaec589b","ref":"refs/heads/master","pushedAt":"2024-06-03T04:47:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Build scripts, stable\n\n* Fix tests failing to compile properly (used take_while instead of filter :p)\n\n* Added support for build scripts, which will prompt the user for permission before running. This is a simple `build.c` file at the top level of your project. Currently the only \"command\" it has is to set the `src` directory, for the case of preprocessing.\n\n* Removed redundant use of const blocks, since const assignments already allowed constant blocks expressions. Also removed the blocks entirely and just opted for more generic errors.","shortMessageHtmlLink":"Build scripts, stable"}},{"before":"f35c200706bbe63056c1da343af9f2c3f30e5d68","after":"ec115eb1ce621806fe84abe80a840f399f0b7103","ref":"refs/heads/master","pushedAt":"2024-05-18T22:39:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Support for setting default backend, cosmocc, uncrustify\n\nResolves #13\nResolves #8\n\n* Support for uncrustify as an alternate formatter\n* Support for cosmocc (it is mostly gcc compatible)\n* Support for providing default backend (this is the backend that cpkg will look for first.) for compiler, formatter and docgen.\n* Bump version to 0.11.0","shortMessageHtmlLink":"Support for setting default backend, cosmocc, uncrustify"}},{"before":"a39a1728b376ee48f361eb2be7a1d1ebbf024400","after":"f35c200706bbe63056c1da343af9f2c3f30e5d68","ref":"refs/heads/master","pushedAt":"2024-05-16T10:04:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Squashed commit of the following:\n\ncommit 1ef75b07f51d57645475f0bb3cbbfe2cfaafa226\nAuthor: DvvCz <86097860+DvvCz@users.noreply.github.com>\nDate: Thu May 16 03:02:15 2024 -0700\n\n Tweak makefile, fmt alias\n\n * Add alias for `cpkg format`: can use `cpkg fmt` instead for less keystrokes.\n\n * Don't use glob in wildcard for makefiles since they don't work for me. Overall makefile generation could use a lot of work that'll hopefully come later.\n\ncommit cb0f8f3898b6e0a17d1e8ce3029b2ee37f286c06\nAuthor: DvvCz <86097860+DvvCz@users.noreply.github.com>\nDate: Thu May 16 02:51:22 2024 -0700\n\n Fix nested entrypoints\n\n They will use the file name rather than trying to use it as a full path including intermediate directories (it was failing because said directories did not exist)\n\ncommit 5db1859294124bb4a508c1f2a333c182da562124\nAuthor: DvvCz <86097860+DvvCz@users.noreply.github.com>\nDate: Thu May 16 02:43:30 2024 -0700\n\n Allow building multiple entrypoints\n\n You can now pass --bin to `cpkg run` or `cpkg build` to build your cpkg project using a certain entrypoint.\n\n This works by telling the linker to allow duplicate definitions in these cases, and first compiling that file.\n\n Traditional `cpkg run` or `cpkg build` will not be affected by this.\n\n (There's also a message given on \"multiple definition of main\" errors hinting to use --bin).\n\n If you choose to build a specific entrypoint, it will export with that entrypoint as the filename in target. So `cpkg build --bin main2` will build to `target/main2`.\n\ncommit 67ba00e87e49851cdd2307c94bb0fb9524988257\nAuthor: DvvCz <86097860+DvvCz@users.noreply.github.com>\nDate: Wed May 8 13:18:13 2024 -0700\n\n 0.10.0\n\n * Rewrites codebase to be modular\n * Use tempfile for handling temporary files\n * Use nestify for easier to manage typed configuration for cpkg.toml\n * New Makefile generation","shortMessageHtmlLink":"Squashed commit of the following:"}},{"before":"cb0f8f3898b6e0a17d1e8ce3029b2ee37f286c06","after":"1ef75b07f51d57645475f0bb3cbbfe2cfaafa226","ref":"refs/heads/0.10.0","pushedAt":"2024-05-16T10:02:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Tweak makefile, fmt alias\n\n* Add alias for `cpkg format`: can use `cpkg fmt` instead for less keystrokes.\n\n* Don't use glob in wildcard for makefiles since they don't work for me. Overall makefile generation could use a lot of work that'll hopefully come later.","shortMessageHtmlLink":"Tweak makefile, fmt alias"}},{"before":"5db1859294124bb4a508c1f2a333c182da562124","after":"cb0f8f3898b6e0a17d1e8ce3029b2ee37f286c06","ref":"refs/heads/0.10.0","pushedAt":"2024-05-16T09:51:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Fix nested entrypoints\n\nThey will use the file name rather than trying to use it as a full path including intermediate directories (it was failing because said directories did not exist)","shortMessageHtmlLink":"Fix nested entrypoints"}},{"before":"67ba00e87e49851cdd2307c94bb0fb9524988257","after":"5db1859294124bb4a508c1f2a333c182da562124","ref":"refs/heads/0.10.0","pushedAt":"2024-05-16T09:43:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Allow building multiple entrypoints\n\nYou can now pass --bin to `cpkg run` or `cpkg build` to build your cpkg project using a certain entrypoint.\n\nThis works by telling the linker to allow duplicate definitions in these cases, and first compiling that file.\n\nTraditional `cpkg run` or `cpkg build` will not be affected by this.\n\n(There's also a message given on \"multiple definition of main\" errors hinting to use --bin).\n\nIf you choose to build a specific entrypoint, it will export with that entrypoint as the filename in target. So `cpkg build --bin main2` will build to `target/main2`.","shortMessageHtmlLink":"Allow building multiple entrypoints"}},{"before":null,"after":"67ba00e87e49851cdd2307c94bb0fb9524988257","ref":"refs/heads/0.10.0","pushedAt":"2024-05-08T20:18:19.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"0.10.0\n\n* Rewrites codebase to be modular\n* Use tempfile for handling temporary files\n* Use nestify for easier to manage typed configuration for cpkg.toml\n* New Makefile generation","shortMessageHtmlLink":"0.10.0"}},{"before":"a497d6dda3dc47feb08818578873f8cda63603c1","after":"a39a1728b376ee48f361eb2be7a1d1ebbf024400","ref":"refs/heads/master","pushedAt":"2024-05-01T02:00:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Package creation fixes\n\n* Properly create test file at main.test.c (was causing error from half-baked change)\n\n* Properly initialize git repository at specified directory on `cpkg new` (it was initializing at top level, which would work for `init`, but not for `new`)\n\nResolves #10","shortMessageHtmlLink":"Package creation fixes"}},{"before":"c1b9c0cbc6ff28b454ede51df2941cc975ae5c2c","after":"a497d6dda3dc47feb08818578873f8cda63603c1","ref":"refs/heads/master","pushedAt":"2024-05-01T01:32:41.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Compile all c files in /src/\n\nInstead of just compiling `main.c` behavior is to compile everything in `/src/`, so you can properly structure projects with multiple files.\n\nCode should be refactored but the implementation is more important than the code quality atm.","shortMessageHtmlLink":"Compile all c files in /src/"}},{"before":"e3c26ed2b04110f1f68777775c3d3fced9991566","after":"c1b9c0cbc6ff28b454ede51df2941cc975ae5c2c","ref":"refs/heads/master","pushedAt":"2024-04-28T06:49:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Add experimental install script","shortMessageHtmlLink":"Add experimental install script"}},{"before":"4ffde5fb7f3871e123bdfb727f546f12fa7f70a1","after":"e3c26ed2b04110f1f68777775c3d3fced9991566","ref":"refs/heads/master","pushedAt":"2024-04-22T01:11:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Adjust README style\n\nGoing to stylize all my repositories in this fashion.","shortMessageHtmlLink":"Adjust README style"}},{"before":"769164495ae131ed492cf1ce80a684d98a104d48","after":"4ffde5fb7f3871e123bdfb727f546f12fa7f70a1","ref":"refs/heads/master","pushedAt":"2024-04-21T03:41:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Bump version, improve readme","shortMessageHtmlLink":"Bump version, improve readme"}},{"before":"aa0976fb173719acefe03d4aac448205847f831b","after":"769164495ae131ed492cf1ce80a684d98a104d48","ref":"refs/heads/master","pushedAt":"2024-04-21T03:00:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"5739033153d771cbe67a26b79cc481cee72e950a","after":"aa0976fb173719acefe03d4aac448205847f831b","ref":"refs/heads/master","pushedAt":"2024-04-21T02:48:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Fix `cpkg run` with custom `bin` path\n\nMakes the `bin` path actually explicitly local to the project directory, which fixes `cpkg run` getting a \"File not found\" error.","shortMessageHtmlLink":"Fix cpkg run with custom bin path"}},{"before":"293e66f4f763b7578acf6d7073e38efc069906b5","after":"5739033153d771cbe67a26b79cc481cee72e950a","ref":"refs/heads/master","pushedAt":"2024-04-16T19:54:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Add support for scripts\n\nThis allows support for running scripts configured in `ckg.toml` using `cpkg run`.\n\nThis is analogous to `bun run` or `npm run`.\n\nDependencies are now also tagged as optional, so you can omit them from your `cpkg.toml` without cpkg erroring.","shortMessageHtmlLink":"Add support for scripts"}},{"before":"4fbac3707d18fb2d95da208df2af2c7a5140aff8","after":"293e66f4f763b7578acf6d7073e38efc069906b5","ref":"refs/heads/master","pushedAt":"2024-04-15T08:21:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Support adding path dependencies\n\nJust hardlinks the path","shortMessageHtmlLink":"Support adding path dependencies"}},{"before":"2a586747ebbd136be8a9a8ce465343b0140b3ede","after":"4fbac3707d18fb2d95da208df2af2c7a5140aff8","ref":"refs/heads/master","pushedAt":"2024-04-15T01:08:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Remove command, clone instead of submodules\n\n* Added `cpkg remove` to correspond with `cpkg add`.\n\n* Git dependencies now clone their contents to target/vendor, instead of being a submodule linked to /vendor/ at the top level. This is closer to what rust and node do for dependencies and is much easier to work with.","shortMessageHtmlLink":"Remove command, clone instead of submodules"}},{"before":"d5a081c7c256f8dfa9f072236b95455f9e72e25b","after":"2a586747ebbd136be8a9a8ce465343b0140b3ede","ref":"refs/heads/master","pushedAt":"2024-04-14T22:04:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Remove nanoserde\n\nI did want to use it, but it doesn't support TOML and doesn't seem like it will for a while, unfortunately.","shortMessageHtmlLink":"Remove nanoserde"}},{"before":"06964418b3962a4ab81f5aa914aa953ccc5a3aaf","after":"d5a081c7c256f8dfa9f072236b95455f9e72e25b","ref":"refs/heads/master","pushedAt":"2024-04-14T22:01:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"f98f13e9dfbc2c71ce4b8c26b0244d6ece6482cf","after":"06964418b3962a4ab81f5aa914aa953ccc5a3aaf","ref":"refs/heads/master","pushedAt":"2024-04-14T21:59:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Basic package management\n\nSupports git submodule management, and adds two new commands, `cpkg add` and `cpkg install`.\n\n`cpkg install` works by installing git dependencies as submodules to a /vendor/ top level directory. You can choose to gitignore this, or not.\n\nIn the future it will also support dependencies via symlinks, and potentially dynamically linked objects.\n\nThis only supports clangd, and whatever supports the `compile_flags.txt` file for IDE intellisense.","shortMessageHtmlLink":"Basic package management"}},{"before":"fa78a7dbad1f74ebf61a69f713102cade07b0cd3","after":"f98f13e9dfbc2c71ce4b8c26b0244d6ece6482cf","ref":"refs/heads/master","pushedAt":"2024-04-14T03:51:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Allow configuring binary output, `generate` command\n\nResolves #7 by adding a `generate` command which generates a basic makefile to accomplish what `cpkg build` does.\n\nThis also comes with a new configuration, being [package.bin], that allows you to change where the package will be output. By default, it is now `target/`, while it previously was `target/out`.","shortMessageHtmlLink":"Allow configuring binary output, generate command"}},{"before":"8f322f20f22badc63b9c04ce75f6e14d03187a66","after":"fa78a7dbad1f74ebf61a69f713102cade07b0cd3","ref":"refs/heads/master","pushedAt":"2024-04-07T08:30:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Tweaks, few features\n\n* Compiler backend support taking include directories and now include relevant directories by default.\n\n* Tests now have a `--print` flag which pipes output from the running test into stdout, for debugging purposes\n\n* Path checking is a little more resilient now, makes sure that you don't provide a directory where a file was expected.","shortMessageHtmlLink":"Tweaks, few features"}},{"before":"a9b623d53dc672b858f9e0b17b9544a228e20b51","after":"8f322f20f22badc63b9c04ce75f6e14d03187a66","ref":"refs/heads/master","pushedAt":"2024-03-29T19:10:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"81e1e9f80c999b0abdd84b3e0ff5ca82e3bc101a","after":"a9b623d53dc672b858f9e0b17b9544a228e20b51","ref":"refs/heads/master","pushedAt":"2024-03-29T18:23:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Support for configuration\n\nYou can pass flags to the compiler now, from `cpkg.toml`.\n\nPlanned to add this functionality for the formatter, docgen, and specific backends.","shortMessageHtmlLink":"Support for configuration"}},{"before":"eba82eb51eb7979d157842d21d821fbb8abbe2f9","after":"81e1e9f80c999b0abdd84b3e0ff5ca82e3bc101a","ref":"refs/heads/master","pushedAt":"2024-03-29T08:04:48.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Bump version","shortMessageHtmlLink":"Bump version"}},{"before":"b2ab1b213d5ed24c07102016d2640ba9ef452677","after":"eba82eb51eb7979d157842d21d821fbb8abbe2f9","ref":"refs/heads/master","pushedAt":"2024-03-29T08:04:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Add scripting functionality\n\nResolves #6","shortMessageHtmlLink":"Add scripting functionality"}},{"before":"9ecdca2bd7f657ca2dddea3fc6cb618d445fe5dd","after":"b2ab1b213d5ed24c07102016d2640ba9ef452677","ref":"refs/heads/master","pushedAt":"2024-03-29T04:14:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Allow tests in /src/, enforce .test.c file naming\n\n* Only files with .test.c suffixes will be recognized as tests.\n\n* Allow tests to be discovered in /src/, given they use the .test.c suffix.\n\n* Display pass/fail slightly differently.","shortMessageHtmlLink":"Allow tests in /src/, enforce .test.c file naming"}},{"before":"14c9150575b844c47451168403f0690c225ee820","after":"9ecdca2bd7f657ca2dddea3fc6cb618d445fe5dd","ref":"refs/heads/master","pushedAt":"2024-03-29T02:57:57.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Recursive tests\n\nUse walkdir instead of read_dir, to support tests nested in folders.\n\nAlso use path hash instead of the previous hacky implementation with original file path.","shortMessageHtmlLink":"Recursive tests"}},{"before":"03174990108bb4d2f747b1b52875d8bb386a8acf","after":"14c9150575b844c47451168403f0690c225ee820","ref":"refs/heads/master","pushedAt":"2024-03-29T02:26:12.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Add format subcommand\n\nUsing `clang-format`.\n\nNeeds support for specifying settings, but that should come in its own PR.","shortMessageHtmlLink":"Add format subcommand"}},{"before":"dae697a1685b72363a1ccf48958dfe8463f6edf7","after":"03174990108bb4d2f747b1b52875d8bb386a8acf","ref":"refs/heads/master","pushedAt":"2024-03-26T06:35:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"DvvCz","name":"David","path":"/DvvCz","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86097860?s=80&v=4"},"commit":{"message":"Colorize and rearrange commands\n\n* Rearrange commands into sections depending on their uses\n\n* Color commands by section\n\nThis is done hackily through ANSI codes at the end of the help descriptions, which happens to color the commands. Doing it this way as AFAIK, there is no support for coloring the clap commands.","shortMessageHtmlLink":"Colorize and rearrange commands"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEWofxOwA","startCursor":null,"endCursor":null}},"title":"Activity ยท DvvCz/cpkg"}