mirror of
https://github.com/modrinth/code.git
synced 2026-08-02 14:15:53 +00:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f1d8ed8f30 | ||
|
|
907db9e64a | ||
|
|
944f99a14e |
@@ -76,16 +76,12 @@ jobs:
|
||||
# since we don't want warnings to become errors
|
||||
# while developing)
|
||||
RUSTFLAGS: -Dwarnings
|
||||
# sccache config
|
||||
SCCACHE_CACHE_SIZE: ${{ needs.skip-if-clean.outputs.internal == 'true' && '20G' || '' }}
|
||||
RUSTC_WRAPPER: ${{ needs.skip-if-clean.outputs.internal == 'true' && 'sccache' || '' }}
|
||||
CARGO_INCREMENTAL: 0
|
||||
# Redis config for tests
|
||||
REDIS_TOPOLOGY: cluster
|
||||
REDIS_CONNECTION_TYPE: multiplexed
|
||||
REDIS_URL: redis://127.0.0.1:7000,redis://127.0.0.1:7001,redis://127.0.0.1:7002,redis://127.0.0.1:7003,redis://127.0.0.1:7004,redis://127.0.0.1:7005
|
||||
# Avoid stack overflows in tests
|
||||
RUST_MIN_STACK: 16777216
|
||||
RUST_MIN_STACK: 33554432
|
||||
|
||||
steps:
|
||||
- name: Check out code
|
||||
@@ -114,10 +110,6 @@ jobs:
|
||||
if: needs.skip-if-clean.outputs.internal == 'true'
|
||||
uses: namespace-actions/setup-turbocache@f96bd6befa13ae74b2858a5be49573640d4636f5 # v0.0.2
|
||||
|
||||
- name: Configure sccache
|
||||
if: needs.skip-if-clean.outputs.internal == 'true'
|
||||
run: nsc cache sccache setup --cache_name default >> "$GITHUB_ENV"
|
||||
|
||||
- name: Install apt dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
@@ -133,9 +125,6 @@ jobs:
|
||||
- name: Setup mold
|
||||
uses: rui314/setup-mold@9c9c13bf4c3f1adef0cc596abc155580bcb04444 # v1 / Mold 2.41.0
|
||||
|
||||
- name: Setup sccache
|
||||
uses: mozilla-actions/sccache-action@9e7fa8a12102821edf02ca5dbea1acd0f89a2696 # v0.0.10
|
||||
|
||||
- name: Setup binstall
|
||||
uses: cargo-bins/cargo-binstall@ead08b90bd7b2e6d81963fb9cf0b7239f66d5db4 # v1.21.0
|
||||
|
||||
|
||||
@@ -284,6 +284,11 @@ pub(super) async fn execute(
|
||||
if let Err(caught_err) = result {
|
||||
payout.status = PayoutStatus::Failed;
|
||||
|
||||
error!(
|
||||
payout_request_id = %payout_request.id,
|
||||
"Failed to execute Mural payout request; cancelling unexecuted request: {caught_err:#}"
|
||||
);
|
||||
|
||||
// if execution fails, make sure to immediately cancel the payout request
|
||||
// we don't want floating payout requests
|
||||
if let Err(err) =
|
||||
|
||||
+3
-4
@@ -1,7 +1,6 @@
|
||||
## Private Community
|
||||
|
||||
Under normal circumstances, your server would be rejected due to the issues listed below. \
|
||||
However, since your server is intended for a private community, these requirements will be waived so your project can remain Unlisted.
|
||||
|
||||
If you're okay with this, or submitted your server to be unlisted, then no further action is necessary. \
|
||||
Under normal circumstances, your server would be rejected due to the issues listed below.
|
||||
However, since your server is intended for a private community, these requirements will be waived and your server project will be unlisted. This means it will remain accessible through a direct link without appearing in public search results, allowing you to share it privately.
|
||||
If you're okay with this, or submitted your server to be unlisted already, than no further action is necessary.
|
||||
If you would like public modrinth users to see and connect to your server, please address all moderation concerns before resubmitting.
|
||||
@@ -0,0 +1,6 @@
|
||||
## Private Use
|
||||
|
||||
Under normal circumstances, your project would be rejected due to the issues listed below.
|
||||
However, since your project is not intended for public use, these requirements will be waived and your project will be unlisted. This means it will remain accessible through a direct link without appearing in public search results, allowing you to share it privately.
|
||||
If you're okay with this, or submitted your project to be unlisted already, than no further action is necessary.
|
||||
If you would like to publish your project publicly, please address all moderation concerns before resubmitting this project.
|
||||
-1
@@ -1 +0,0 @@
|
||||
We've recently launched %SHARED_INSTANCES_FLINK% which allow you to share your modpacks directly to other users. This feature may be better suited for your use case than creating a project page!
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
## Private Use
|
||||
|
||||
Under normal circumstances, your project would be rejected due to the issues listed below. \
|
||||
However, since it looks like this project is primarily intended to be shared privately or amongst a specific community, these requirements will be waived so your project can remain Unlisted.
|
||||
|
||||
If you're okay with this, or submitted your project to be unlisted, then no further action is necessary. \
|
||||
If you would like to publish your project publicly, please address all moderation concerns before resubmitting this project.
|
||||
@@ -9,7 +9,6 @@ import {
|
||||
getBooleanChildState,
|
||||
group,
|
||||
isNodeActive,
|
||||
md,
|
||||
resolveChildren,
|
||||
stage,
|
||||
toggle,
|
||||
@@ -67,35 +66,18 @@ export default function (
|
||||
}),
|
||||
),
|
||||
|
||||
//TODO: chyz combine these
|
||||
toggle('private-use', 'Private use')
|
||||
.shown(computed(() => !project.value.minecraft_server))
|
||||
.suggestedStatus('flagged')
|
||||
.priority(Priorities.alerts)
|
||||
.rawMessage(async (state) => {
|
||||
let msg
|
||||
.message()
|
||||
.priority(Priorities.alerts),
|
||||
|
||||
if (
|
||||
project.value.minecraft_java_server &&
|
||||
project.value.minecraft_java_server.content?.kind === 'modpack'
|
||||
) {
|
||||
msg =
|
||||
(await md('checklist/messages/status-alerts/private-use/server')(state)) +
|
||||
'\n' +
|
||||
(await md('checklist/messages/status-alerts/private-use/note/shared-instance')(
|
||||
state,
|
||||
))
|
||||
} else {
|
||||
msg = await md('checklist/messages/status-alerts/private-use/project')(state)
|
||||
if (project.value.project_types.includes('modpack')) {
|
||||
msg +=
|
||||
'\n' +
|
||||
(await md('checklist/messages/status-alerts/private-use/note/shared-instance')(
|
||||
state,
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
return msg
|
||||
}),
|
||||
toggle('private-use-server', 'Private community')
|
||||
.shown(computed(() => !!project.value.minecraft_server))
|
||||
.suggestedStatus('flagged')
|
||||
.message()
|
||||
.priority(Priorities.alerts),
|
||||
|
||||
toggle('server-use', 'Server use')
|
||||
.shown(
|
||||
|
||||
@@ -335,8 +335,6 @@ export function flattenStaticVariables(): Record<string, string> {
|
||||
vars[`NEW_ENVIRONMENTS_LINK`] = `https://modrinth.com/news/article/new-environments`
|
||||
vars[`LEARN_MORE_ABOUT_SERVERS_FLINK`] =
|
||||
`[learn more about server projects from our news feed](https://modrinth.com/news/article/introducing-server-projects/)`
|
||||
vars[`SHARED_INSTANCES_FLINK`] =
|
||||
`[Shared Instances](https://modrinth.com/news/article/shared-instances/)`
|
||||
|
||||
return vars
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
CLAUDE.md
|
||||
CLAUDE.md
|
||||
Reference in New Issue
Block a user