Jump to content

Wikipedia:Reference desk/Archives/Computing/2020 October 29

From Wikipedia, the free encyclopedia
Computing desk
< October 28 << Sep | October | Nov >> October 30 >
Welcome to the Wikipedia Computing Reference Desk Archives
The page you are currently viewing is a transcluded archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


October 29

[edit]

Is it possible to merge two contributors in Git?

[edit]

The company I work at migrated its version control from Microsoft TFVC to Git in late September. We used GitTfs to migrate all the existing TFVC commits to Git and now host the version control in a private GitLab collection.

Just today when viewing the "contributors" page in GitLab I noticed that in the transition, my e-mail address was logged with a different capitalisation. As a result, I now appear on the "contributors" page as two separate people. This does not affect my development or access to Git, but it looks stupid on GitLab to see my contributions suddenly stop and then start as a different person.

Is it somehow possible to merge these two contributors to a single contributor in Git? JIP | Talk 21:13, 29 October 2020 (UTC)[reply]

This can be done with the git .mailmap configuration [1]. From what I can tell via search, this are requests for Gitlab to use this but it is not done. Perhaps you can reach out to your GitLab support and ask about it. RudolfRed (talk) 00:45, 30 October 2020 (UTC)[reply]
JIP, but are there also actually two different profiles created in gitlab ? That would be a problem. If it is just an unclaimed contribution, go to Profile->Settings->Email and simply add any email of which you want to claim the contributions. —TheDJ (talkcontribs) 09:53, 30 October 2020 (UTC)[reply]
No, it appears that all contributions made by me are claimed to the same profile (at least the avatar image is the same for all of them), it's just that the "contributors" page on the GitLab web user interface is showing me as two separate people, one before the switch, one after. The only difference is that my e-mail address is capitalised differently. There are over two thousand contributions before the switch and over three hundred after it, so claiming them one by one is not really an option. JIP | Talk 13:30, 30 October 2020 (UTC)[reply]
JIP, ah wait, you are talking about the contributors graph specifically of course. That is unfortunately a limitation of Gitlab right now. There is a ticket about it here. —TheDJ (talkcontribs) 14:07, 30 October 2020 (UTC)[reply]

Google/Android Maps

[edit]

If I view a patch of Manhattan via Google Maps on either of my computers (via Firefox), the city "blocks" appear as rectangles. As I scroll in any direction, each rectangle remains unchanged: it merely moves across the screen. And the top of the screen is north. It's the same for (Google's) Maps on my (Android) tablet and elderly phone. But using (Google's) Maps on my new (Android) phone, I see blocks represented as non-rectangular parallelograms. (This is with the "Map type" named "Default".) As I scroll, these parallelograms change shape. And the direction on the screen of north depends on how I hold the phone (I mean, aside from the phone's standard judgement of which of its four sides is uppermost).

This pseudo-perspectival (mis-) feature is an interesting one, but I happen not to want it. I imagine (and hope) that it can be turned off. But how? -- Hoary (talk) 22:53, 29 October 2020 (UTC)[reply]

Hoary, probably 3D building shapes. Go to the map selector (where you switch between satelite, street view, default etc) and tab the '3D' option to toggle the building shapes. —TheDJ (talkcontribs) 08:52, 30 October 2020 (UTC)[reply]
Thank you, TheDJ. Toggling the "3D" icon doesn't seem to do anything. Incidentally, the "3D" icon suggests that one will see a pseudo-3D image (the kind one sees on tourist maps-on-paper of picturesque inner cities), but what I see is totally flat. (It's rather as if every building were razed to its foundations, and I get a "perspective" view of a carpet-bombed city.) Whichever way I toggle "3D", and whether I'm looking at satellite, street or default, the direction is now fixed: North is consistently to the right (huh?). I tried both stopping and "force-stopping" Maps (ver 10.53.1) and restarting it: No change. Strange. (Ahem! One bit of progress: Availability of a sensible alternative, now that I've installed OsmAnd.) -- Hoary (talk) 09:40, 30 October 2020 (UTC)[reply]