Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6543643
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:22:17+00:00 2026-05-25T11:22:17+00:00

We would like to implement some automated processing of merge requests in a Gitorious

  • 0

We would like to implement some automated processing of merge requests in a Gitorious instance. Everything we want to do is easy…if there were some way for us to enumerate the pending merge requests via git. I see that Gitorious actually dumps these into refs/merge-requests/nnn in the (hosted) git repository, but there doesn’t seem to be any way to get git to transfer this to a client.

I’ve looked at just screen-scraping the list of merge requests, but since we’re making extensive use of OpenID for authentication it ends up being fairly complicated (load the Gitorious login screen, submit, follow the redirect to the OpenID server, submit the login form, respond to the optional verification, follow the redirect back to Gitorious, etc…).

What we’re looking to do is create a working copy of the repository in which we will create a local branch corresponding to each merge request, and then apply the merge request in that branch. Why are we doing this? Because we’re abusing merge requests as a homework submission mechanism in a course setting.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T11:22:17+00:00Added an answer on May 25, 2026 at 11:22 am

    It turns out this isn’t terribly difficult:

    git fetch origin +refs/merge-requests/*:refs/merge-requests/*
    

    This gets the list of outstanding merge requests, which is mostly what I wanted. I was hoping one could close the merge request by deleting the corresponding reference, but that doesn’t work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Apple clearly has this automated in some way, I would like to have access
I would like to implement some Drag-select functionality into a project of mine but
I would like to implement some geometrical algorithms with numerical robustness. For this, a
I have Java servlet-based web applications. I would like to implement some operations in
I would like to implement some security in some of the Flash/PHP applications that
i would like to implement some kind of service my customers can use to
I'm using the core-plot library to do some plotting, and would like to implement
I would like to implement something similar to a c# delegate method in PHP.
I would like to implement a data access object pattern in C++, but preferably
I would like to implement a command line interface for a Java application. This

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.