Gitlab exports repositories to tar archive which contains .bundle files.
We have repo.bundle file and we want to restore files from it.
- create bare repo from bundle file
git clone --mirror myrepo.bundle my.git
import 'dart:async'; | |
import 'dart:math'; | |
import 'package:stream_transform/stream_transform.dart'; | |
StreamController<int> controller = StreamController<int>.broadcast(); | |
void probe(int id, int delay) { | |
print("Submitted(ID: $id; delay: $delay)"); | |
controller.add(id); | |
} |
const expect = require('chai').expect; | |
const EventEmitter = require('events'); | |
const rxjs = require('rxjs'); | |
const { ajax } = require('rxjs/ajax'); | |
const { debounce, debounceTime, distinctUntilChanged, switchMap, tap } = require('rxjs/operators'); | |
describe('A emitter', function () { | |
it('should emit something', async function (done) { |
void echo(SendPort initialReplyTo) { | |
var port = new ReceivePort(); | |
initialReplyTo(port.sendPort); | |
port.listen((msg) { | |
var data = msg[0]; | |
SendPort replyTo = msg[1]; | |
replyTo.send(data); | |
if (data == "bar") port.close(); | |
}); | |
} |
import 'dart:async'; | |
import 'dart:io'; | |
import 'package:http/http.dart' show Client; | |
import 'package:googleapis_auth/auth_io.dart' as auth; | |
import 'package:googleapis/common/common.dart' show Media, DownloadOptions; | |
import 'package:googleapis/drive/v2.dart' as drive; | |
import 'package:path/path.dart' as path; | |
Future convertFile(drive.DriveApi api, |
Gitlab exports repositories to tar archive which contains .bundle files.
We have repo.bundle file and we want to restore files from it.
git clone --mirror myrepo.bundle my.git