Run of fresh-snapshots for php-net-socket

Try this locally (using silver-platter):

debian-svp new-upstream --snapshot php-net-socket 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[2021-04-04 20:18:15] Running ['new-upstream', '--snapshot']
[2021-04-04 20:18:15] Opening branch at https://salsa.debian.org/php-team/pear/php-net-socket.git/,branch=debian%2Flatest
[2021-04-04 20:18:18] Using cached branch https://janitor.debian.net/git/php-net-socket/,branch=debian%2Flatest
[2021-04-04 20:18:20] Total 244 (delta 0), reused 0 (delta 0), pack-reused 244
[2021-04-04 20:18:24] Total 4 (delta 0), reused 0 (delta 0), pack-reused 4
[2021-04-04 20:18:24] 
[2021-04-04 20:18:26] % (370/370), done.
[2021-04-04 20:18:26]   68% (153/224)
[2021-04-04 20:18:26] Total 370 (delta 127), reused 361 (delta 120), pack-reused 0
[2021-04-04 20:18:26] Workspace ready - starting.
[2021-04-04 20:18:26] Using upstream branch https://github.com/pear/Net_Socket.git (from configuration)
[2021-04-04 20:18:27] Total 381 (delta 0), reused 0 (delta 0), pack-reused 381
[2021-04-04 20:18:27] Using version string 1.2.2+git20170413.1.7482c62.
[2021-04-04 20:18:27] No upstream upstream-revision format specified, trying tag:1.2.2
[2021-04-04 20:18:27] No upstream upstream-revision format specified, trying tag:php-net-socket-1.2.2
[2021-04-04 20:18:27] No upstream upstream-revision format specified, trying tag:v1.2.2
[2021-04-04 20:18:27] Not including upstream history, since previous upstream version (1.2.2) is not present in packaging branch history.
[2021-04-04 20:18:27] Looking for upstream php-net-socket/1.2.2+git20170413.1.7482c62 in upstream branch <RemoteGitBranch('https://github.com/pear/Net_Socket.git/', 'master')>.
[2021-04-04 20:18:46] Searching for revision importing php-net-socket version 1.2.2 on packaging branch, tag debian/1.2.2-1, tag debian/1.2.2-2.
[2021-04-04 20:18:46] Upstream import of 1.2.2 lacks a tag. Set one by running: brz tag -rrevid:git-v1:abc7a778ec2c9a47f9051a36fe0f15de14758f36 upstream/1.2.2
Traceback (most recent call last):
  File "/srv/janitor/debian-janitor/breezy/breezy/osutils.py", line 396, in _rename_wrapper
    rename_func(old, new)
IsADirectoryError: [Errno 21] Is a directory: '/tmp/tmpqpoe6rfn/php-net-socket/.git/refs/heads/upstream.3872362.osuosl167-amd64.4ap4gwf3oj.tmp' -> '/tmp/tmpqpoe6rfn/php-net-socket/.git/refs/heads/upstream'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/srv/janitor/debian-janitor/janitor/pull_worker.py", line 209, in run_worker
    with process_package(
  File "/usr/lib/python3.9/contextlib.py", line 117, in __enter__
    return next(self.gen)
  File "/srv/janitor/debian-janitor/janitor/worker.py", line 770, in process_package
    changer_result = build_target.make_changes(
  File "/srv/janitor/debian-janitor/janitor/worker.py", line 455, in make_changes
    return self.changer.make_changes(
  File "/srv/janitor/debian-janitor/janitor/worker.py", line 173, in make_changes
    return super(NewUpstreamChanger, self).make_changes(local_tree, subpath, *args, **kwargs)
  File "/srv/janitor/debian-janitor/silver-platter/silver_platter/debian/upstream.py", line 1253, in make_changes
    result = merge_upstream(
  File "/srv/janitor/debian-janitor/silver-platter/silver_platter/debian/upstream.py", line 944, in merge_upstream
    conflicts, imported_revids = do_merge(
  File "/srv/janitor/debian-janitor/breezy-debian/merge_upstream.py", line 171, in do_merge
    return db.merge_upstream(
  File "/srv/janitor/debian-janitor/breezy-debian/import_dsc.py", line 1336, in merge_upstream
    imported_revids = self.import_upstream(
  File "/srv/janitor/debian-janitor/breezy-debian/import_dsc.py", line 853, in import_upstream
    (tag, revid, pristine_tar_imported) = self.pristine_upstream_source.import_component_tarball(
  File "/srv/janitor/debian-janitor/breezy-debian/upstream/pristinetar.py", line 800, in import_component_tarball
    self.branch.pull(tree.branch, stop_revision=revid)
  File "/srv/janitor/debian-janitor/breezy/breezy/branch.py", line 1043, in pull
    return InterBranch.get(source, self).pull(
  File "/srv/janitor/debian-janitor/breezy/breezy/git/branch.py", line 1314, in pull
    self.target.generate_revision_history(
  File "/srv/janitor/debian-janitor/breezy/breezy/git/branch.py", line 532, in generate_revision_history
    self.set_last_revision(revid)
  File "/srv/janitor/debian-janitor/breezy/breezy/git/branch.py", line 819, in set_last_revision
    self._set_head(newhead)
  File "/srv/janitor/debian-janitor/breezy/breezy/git/branch.py", line 828, in _set_head
    self.repository._git.refs[self.ref] = self._head
  File "/srv/janitor/debian-janitor/dulwich/dulwich/refs.py", line 374, in __setitem__
    self.set_if_equals(name, None, ref)
  File "/srv/janitor/debian-janitor/breezy/breezy/git/transportgit.py", line 282, in set_if_equals
    transport.put_bytes(urlutils.quote_from_bytes(
  File "/srv/janitor/debian-janitor/breezy/breezy/transport/local.py", line 203, in put_bytes
    fp.commit()
  File "/srv/janitor/debian-janitor/breezy/breezy/atomicfile.py", line 107, in commit
    osutils.rename(self.tmpfilename, self.realfilename)
  File "/srv/janitor/debian-janitor/breezy/breezy/osutils.py", line 403, in _rename_wrapper
    raise detailed_error
IsADirectoryError: [Errno 21] Is a directory [occurred when renaming '/tmp/tmpqpoe6rfn/php-net-socket/.git/refs/heads/upstream.3872362.osuosl167-amd64.4ap4gwf3oj.tmp' to '/tmp/tmpqpoe6rfn/php-net-socket/.git/refs/heads/upstream']

Full worker log Full dist log