Codeberg/Documentation
43
151
Fork
You've already forked Documentation
128

Getting Started: Add detail to use of git push --mirror #422

Merged
n0toose merged 1 commit from :forgejo-internal-reference into main 2024年06月07日 13:05:45 +02:00
Contributor
Copy link

Based on discussion in Forgejo #2834.

Based on discussion in Forgejo [#2834](https://codeberg.org/forgejo/forgejo/pulls/2834).
First-time contributor
Copy link

Just disabling the "Pull requests" unit before using git push --mirror does not seem to do the trick with me. I still get messages along the lines of:

remote: Forgejo: The deletion of refs/pull/88/head is skipped as it's an internal reference.
remote: error: hook declined to update refs/pull/88/head

Is there a missing this step that should also be documented maybe?

Just disabling the "Pull requests" unit before using `git push --mirror` does not seem to do the trick with me. I still get messages along the lines of: ``` remote: Forgejo: The deletion of refs/pull/88/head is skipped as it's an internal reference. remote: error: hook declined to update refs/pull/88/head ``` Is there a missing this step that should also be documented maybe?
Author
Contributor
Copy link

CC: @n0toose

CC: @n0toose

Hi, I am not sure what to do here.

Just disabling the "Pull requests" unit before using git push --mirror does not seem to do the trick with me. I still get messages along the lines of:

So, disabling the Pull Requests unit causes the --mirror option to freak out? Sounds like a Forgejo bug.

Hi, I am not sure what to do here. > Just disabling the "Pull requests" unit before using git push --mirror does not seem to do the trick with me. I still get messages along the lines of: So, disabling the Pull Requests unit causes the `--mirror` option to freak out? Sounds like a Forgejo bug.

Or, well, not sure if it's a bug, but something that Forgejo should probably fix.

Or, well, not sure if it's a bug, but something that Forgejo should probably fix.
Author
Contributor
Copy link

Are there any recommendations for improving the documentation of this section?

Are there any recommendations for improving the documentation of this section?

I actually don't have any recommendations and think that this should be fine, but I'm concerned with @foxy's statement mentioning that this does not work for them for some reason.

So, right now the only reason that the merge is being stalled is because I am not sure whether git push --mirror works and not because of the merits of your change, and I have to admit that I am slightly "frozen" in the sense that I am not sure how to proceed here.

I actually don't have any recommendations and think that this should be fine, but I'm concerned with @foxy's statement mentioning that this does not work for them for some reason. So, right now the only reason that the merge is being stalled is because I am not sure whether `git push --mirror` works and not because of the merits of your change, and I have to admit that I am slightly "frozen" in the sense that I am not sure how to proceed here.
First-time contributor
Copy link

I could see if I can reproduce this consistently on an arbitrary test mirror and if so, open an issue and link it here. If I am unable to reproduce this elsewhere, you could ignore my problem and get this merged anyway? Just give me one to two days to find the free time to work on this, please. Does that sound alright?

I could see if I can reproduce this consistently on an arbitrary test mirror and if so, open an issue and link it here. If I am unable to reproduce this elsewhere, you could ignore my problem and get this merged anyway? Just give me one to two days to find the free time to work on this, please. Does that sound alright?
First-time contributor
Copy link

Here are the steps I am following to get the error above while still disabling the Pull Requests unit and using the --mirror flag: Codeberg/Community#1569. If I am doing something wrong in the mirroring process, perhaps the right steps to follow could be specified in the docs.

Here are the steps I am following to get the error above while still disabling the Pull Requests unit and using the `--mirror` flag: https://codeberg.org/Codeberg/Community/issues/1569. If I am doing something wrong in the mirroring process, perhaps the right steps to follow could be specified in the docs.
Author
Contributor
Copy link

Maybe this PR can be merged and a documentation feature Issue can be created pending results from ongoing experimentation?

Maybe this PR can be merged and a documentation feature Issue can be created pending results from ongoing experimentation?
n0toose changed title from (削除) Adds detail to use of git push --mirror (削除ここまで) to Getting Started: Add detail to use of git push --mirror 2024年06月07日 13:05:06 +02:00

Apologies for the delay.

Apologies for the delay.
h759bkyo4 deleted branch forgejo-internal-reference 2024年06月17日 01:00:30 +02:00
Sign in to join this conversation.
No reviewers
Labels
Clear labels
Codeberg Pages

Issues affecting Codeberg Pages
Documentation Usability

Issues related to using and reading docs.codeberg.org
Forgejo
Good First Issue! 👋
Kind: Bug
Kind: Documentation
Kind: Enhancement
Kind: Feature
Kind: Question
Kind: Security
Licensing
Part: Generator

This is related to the generation of the documentation, not to the content itself
Priority: High

The priority is high
Priority: Low

The priority is low
Priority: Medium

The priority is medium
Reviewed: Confirmed

Something has been confirmed
Reviewed: Duplicate

Something exists already
Reviewed: Invalid

Something was marked as invalid
Reviewed: Wontfix

Something won't be fixed
Status: Blocked
Status: Help wanted

Contributions are welcome!
Status: In progress

Work is in progress
Status: Needs feedback

Feedback is needed
Status: Ready for Review

Work is completed
Status: Review

Review is in progress / Reviewers wanted
Status: Stale
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Codeberg/Documentation!422
Reference in a new issue
Codeberg/Documentation
No description provided.
Delete branch ":forgejo-internal-reference"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?