Commit Graph

28 Commits

Author SHA1 Message Date
cloudhead d274b28ae0
scripts: Small fix to contributor count 2024-12-05 14:25:28 +01:00
cloudhead 8e2fe6449e
scripts: Improve changelog script
* Add number of commits and contributors
* Default to the latest version tag as the "current"
2024-12-04 12:40:10 +01:00
cloudhead bcba8f5a21
scripts: Add `--from-version` to changelog script
This allows generating changelogs from eg. version 1.1 to 1.2 combining
any pre-releases.
2024-11-27 17:25:02 +01:00
cloudhead bc14229639
scripts: Small improvement to `cache-cobs` 2024-09-02 16:20:17 +02:00
cloudhead 8922388caa
scripts: Add install command in changelog 2024-08-20 17:39:04 +02:00
cloudhead 2b75045661
scripts: Add a script to create a radicle env
Creates a new profile with a repo and drops you in.
2024-08-07 10:41:28 +02:00
Yorgos Saslis 34d213ad23
docker: Remove outdated docker-compose files
After the Dockerfiles for radicle-node and radicle-httpd have been
removed, these files can also be removed.

Signed-off-by: Yorgos Saslis <yorgos.work@proton.me>
2024-05-24 12:07:02 +02:00
cloudhead 2c6fa989cb
scripts: Script for outputting markdown changelog 2024-05-02 17:00:14 +02:00
cloudhead 97b1a5de53
build: Move/rename build steps 2024-04-29 11:14:09 +02:00
cloudhead 95b5191533
Reproducible cross-compiled builds
Implement a new build pipeline using `podman` and `zig` that is
reproducible and can be run entirely on linux.

We also simplify the versioning system, defaulting to the output of `git
describe` when there are no exact tag matches.
2024-04-20 11:11:00 +02:00
cloudhead ad7ba82e6a
node: Populate refs db on startup
If the refs database is empty, populate it on startup.
Also includes a script to clear it.
2024-04-05 21:59:58 +02:00
cloudhead e40e642e76
scripts: Add 'tag' script for releases 2024-03-26 09:50:32 +01:00
cloudhead 62fa8c25c8
scripts: Delete old install script 2024-03-15 16:53:09 +01:00
cloudhead d16ae3edc9
scripts: Add COB caching script 2024-02-23 18:35:50 +01:00
Thomas Scholtes 3ccb6a5fac
Move `rad-web` binary to `radicle-httpd` package
Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
2023-11-22 11:27:11 +01:00
cloudhead e57dbc337a
scripts: Small fix for POSIX-compliance 2023-09-26 13:11:12 +02:00
Alexis Sellier 3bd5589b1a
cob: Stabilize formats
> I'm going to be making a set of breaking changes to COBs in order to
stabilize the data formats. This is hopefully a one-time change that
bundles various breaking changes.

All COBs have been reworked: issue, patch, id.

The changes included are:

* Revise the assign and tag actions to take a single list of
  assignees/tags to set, instead of an "add" and a "remove" list. This
  makes API usage simpler when editing issues, and simplifies the apply
  function
* Rename "tags" to "labels", and the tag action to label. This is
  because tag is confusing in the context of git, as it could mean a git
  tag. Using label removes that confusion.
* Use DIDs instead of PublicKeys for assignees -- this is more
  future-proof
* Modify the manifest file format in the COB tree. Mainly, remove the
  `history_type` key which is redundant, and use camelCase for keys
* Flatten the `Thread` actions into the parent action type
* Ensure that operations on redacted objects do not fail, since
  redactions could have happened concurrently
* Use a consistent naming scheme for actions, using `.` as separator
* Consolidate comment types and remove `CodeComment`, by adding an
  optional `location` field to `Comment`
* Add many placeholder actions that are not yet implemented

To preserve backwards compatibility, a `legacy` module is created with
the old `apply` function. When loading the manifest, we check whether it
is a legacy COB or a "stable" COB, and in the legacy case, use the
legacy code to materialize the state and then convert the object into
the stable type. Eventually, we'll delete the legacy code.
2023-08-07 11:05:14 +02:00
cloudhead aea7fb0e42
scripts: Fix delete-remote-branches script
We were deleting patch branches, oops.
2023-08-04 12:19:27 +02:00
Alexis Sellier 170417f974
ci: Fix man page build 2023-07-21 20:52:25 +02:00
Alexis Sellier 4722b9b417
scripts: Add `delete-remote-branches` script
This is useful for cleaning up remote branches that are no longer used.
2023-05-25 10:07:02 +02:00
Alexis Sellier 1dfaab6b4d
scripts: Use `seed` user instead of `root` 2023-05-12 11:08:59 +02:00
Alexis Sellier c1d4e87d25
ci: Use local deploy script instead of CI
Further reduce GitHub reliance.
2023-05-10 10:41:01 +02:00
Alexis Sellier 76eb7c08a1
scripts: Refuse to delete own remote
This can be unrecoverable.
2023-04-29 11:49:35 +02:00
Alexis Sellier 44298df48f
Update scripts with a couple of new ones 2023-04-27 11:08:56 +02:00
Alexis Sellier 4bac839e0a
scripts: Update `import-issue`
Make it remove image links.
2023-04-21 15:31:56 +02:00
Alexis Sellier 9fd3527196
cli: Add `--tag` option to `rad issue open`
Also include a simple script for importing GitHub issues.
2023-04-21 11:10:07 +02:00
Alexis Sellier d9dd28b347
scripts: Add `delete-remote-refs.sh`
Useful for deleting refs of a corrupted remote.
2023-04-15 00:15:02 +02:00
Alexis Sellier 505dd9ea96
Add `install` script
Downloads binaries and installs them, based on your operating system.

Can be used in a one liner, for example:

    sh <(curl https://radicle.xyz/install)
2023-04-06 11:29:42 +02:00