Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/setup-mops.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: mops test with ZenVoich/setup-mops
name: mops test with dfinity/setup-mops

on:
push:
Expand All @@ -9,7 +9,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
name: Test with ZenVoich/setup-mops
name: Test with dfinity/setup-mops

steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
node_modules
dist
.dfx
.vscode
.mops
.DS_Store
.DS_Store
3 changes: 1 addition & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# npm run lint && npm run test && (cd cli && npm run check)
node .husky/pre-commit.js
npm run precommit
18 changes: 0 additions & 18 deletions .husky/pre-commit.js

This file was deleted.

8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"dfinity-foundation.vscode-motoko",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"rvest.vs-code-prettier-eslint"
]
}
2 changes: 1 addition & 1 deletion backend/main/verifyPackageRepository.mo
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module {
};

if (not Text.startsWith(repositoryUrl, #text("https://github.com/"))) {
return #err("Currently only github repositories are supported.\nPlease create an issue at https://github.com/ZenVoich/mops/issues if you want to add support for other repositories.");
return #err("Currently only github repositories are supported.\nPlease create an issue at https://github.com/dfinity/mops/issues if you want to add support for other repositories.");
};

let urlPath = Iter.toArray(Text.split(repositoryUrl, #text("https://github.com/")))[1];
Expand Down
4 changes: 2 additions & 2 deletions blog/blog/2024-07-30/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ Added a common nav bar to all subdomains for easier navigation.

(by [@ZenVoich](https://github.com/ZenVoich))

New version `1.3.1` of [`setup-mops`](https://github.com/ZenVoich/setup-mops) action is released.
New version `1.3.1` of [`setup-mops`](https://github.com/dfinity/setup-mops) action is released.

The action is updated to use the on-chain storage to install Mops, which gave a **2x** speedup to the installation process (from ~20s to ~10s).

If you are using the action in this way:

```yaml
- uses: ZenVoich/setup-mops@v1
- uses: dfinity/setup-mops@v1
```

no changes are required from your side.
Expand Down
4 changes: 2 additions & 2 deletions blog/blog/2024-09-13/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Now you can search packages by the owner principal id. Just click on the owner p

## GitHub Action update

New version `1.4.0` of [`setup-mops`](https://github.com/ZenVoich/setup-mops) action is released.
New version `1.4.0` of [`setup-mops`](https://github.com/dfinity/setup-mops) action is released.

- Add caching for macOS
- Use node v22
Expand All @@ -66,7 +66,7 @@ docker build . --build-arg COMMIT_HASH=<commit_hash> --build-arg MOPS_VERSION=<m
docker run --rm --env SHASUM=<build_hash> mops
```

[Documentation](https://github.com/ZenVoich/mops/blob/main/cli/DEVELOPMENT.md#verify-build).
[Documentation](https://github.com/dfinity/mops/blob/main/cli/DEVELOPMENT.md#verify-build).


## Package Registry site updates
Expand Down
9 changes: 7 additions & 2 deletions blog/blog/authors.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
dfinity:
name: DFINITY
title: Mops Maintainer
url: https://dfinity.org
image_url: https://github.com/dfinity.png
zen:
name: Zen Voich
title: Mops Maintainer
title: Original Mops Author
url: https://github.com/ZenVoich
image_url: https://github.com/ZenVoich.png
image_url: https://github.com/ZenVoich.png
2 changes: 1 addition & 1 deletion blog/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const config = {
items: [
{
label: 'GitHub',
href: 'https://github.com/ZenVoich/mops',
href: 'https://github.com/dfinity/mops',
},
{
label: 'Twitter',
Expand Down
2 changes: 1 addition & 1 deletion cli-releases/frontend/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<div class="meta hashes">
{#if 'commitHash' in release}
<div class="hash">
Commit hash: <a href="https://github.com/ZenVoich/mops/commit/{release.commitHash}" target="_blank">{release.commitHash}</a>
Commit hash: <a href="https://github.com/dfinity/mops/commit/{release.commitHash}" target="_blank">{release.commitHash}</a>
</div>
{/if}
<div class="hash">Build hash: {release.hash}</div>
Expand Down
2 changes: 1 addition & 1 deletion cli/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ npm publish

## Check reproducibility of the build

Check release hash of latest build for version `0.0.0` at https://github.com/ZenVoich/mops/actions/workflows/build-hash.yml
Check release hash of latest build for version `0.0.0` at https://github.com/dfinity/mops/actions/workflows/build-hash.yml

Build locally version `0.0.0`
```
Expand Down
2 changes: 1 addition & 1 deletion cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM --platform=linux/amd64 zenvoich/mops-builder:1.1.0@sha256:9bb87e843a90f1c12

# clone repository
ARG COMMIT_HASH
RUN git clone https://github.com/ZenVoich/mops.git
RUN git clone https://github.com/dfinity/mops.git

WORKDIR /mops
RUN git checkout $COMMIT_HASH
Expand Down
5 changes: 3 additions & 2 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@
"homepage": "https://mops.one",
"repository": {
"type": "git",
"url": "https://github.com/ZenVoich/mops.git"
"url": "https://github.com/dfinity/mops.git"
},
"author": "Zen Voich <zen.voich@gmail.com>",
"author": "DFINITY",
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"mops": "tsx ./cli.ts",
"build": "npm run prepare && npm run bundle",
"dist": "tsc",
"bundle": "rm -rf ./bundle && bun build ./cli.ts --outdir ./bundle --target node --minify --external @napi-rs/lzma --external fsevents --format esm --define '__dirname=import.meta.dirname' && npm run bundle:fix && npm run bundle:copy && npm run bundle:package-json && npm run bundle:tar",
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/00-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ You can discover Motoko packages on [mops.one](https://mops.one/).

### Mops is a test runner for Motoko

Mops comes with a [test runner](/cli/mops-test) that follows [Mops Message Format](https://github.com/ZenVoich/mops-message-format) and works with the [`test` package](https://mops.one/test).
Mops comes with a [test runner](/cli/mops-test) that follows [Mops Message Format](https://github.com/dfinity/mops-message-format) and works with the [`test` package](https://mops.one/test).

### Mops is a benchmarking tool for Motoko

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/cli/4-dev/01-mops-test.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Make sure your actor doesn't have a name `actor {`.

Make sure your actor has `runTests` method.

See example [here](https://github.com/ZenVoich/mops/blob/main/test/storage-actor.test.mo).
See example [here](https://github.com/dfinity/mops/blob/main/test/storage-actor.test.mo).

Under the hood, Mops will:
- Start a local replica on port `4945`
Expand Down
4 changes: 2 additions & 2 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const config = {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl: 'https://github.com/ZenVoich/mops/edit/main/docs/',
editUrl: 'https://github.com/dfinity/mops/edit/main/docs/',
},
blog: false,
theme: {
Expand Down Expand Up @@ -74,7 +74,7 @@ const config = {
items: [
{
label: 'GitHub',
href: 'https://github.com/ZenVoich/mops',
href: 'https://github.com/dfinity/mops',
},
{
label: 'Twitter',
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/links/GitHub.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import githubImg from '/img/github.svg';
</script>

<a aria-label="Mops is open source - Repo on GitHub" href="https://github.com/ZenVoich/mops" target="_blank" rel="external noopener norefferer">
<a aria-label="Mops is open source - Repo on GitHub" href="https://github.com/dfinity/mops" target="_blank" rel="external noopener norefferer">
<img src="{githubImg}" alt="GitHub logo" loading="lazy" />
</a>

Expand Down
Loading
Loading