checkin

Internal error in Changeset Comments Policy after updating VS2015 to Update 1

谁都会走 提交于 2019-12-03 07:23:42
Everything was fine about an hour ago, when i tried to checkin something, the policy friendly reminded me to "provide a comment for the check-in". Then I installed VS2015 Update 1, like some of my colleagues did, and after that, i receive the following error message when trying to check something in: Internal error in Changeset Comments Policy. Error loading the Changeset Comments Policy policy (The policy assembly 'Microsoft.TeamFoundation.PowerTools.CheckinPolicies.ChangesetComments, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' is not registered.). Installation

How to crawl foursquare check-in data?

前提是你 提交于 2019-12-03 03:48:10
Is it possible to crawl check-in data from foursquare in a greedy way? (even if I don't have friendship with all the users) Just like crawling publicly available twitter messages. If you have any experience or suggestions, please share. Thanks. If you have publicly available tweets containing links to foursquare, you can resolve the foursquare short links (4sq.com/XXXXXX) by making a HEAD request. The head request will return a URL with a check-in ID and a signature. You can use those two values to retrieve a check-in object via the foursquare API /checkins/ endpoint. You're only allowed to

Check in a file to TFS (command line) withouth a work space

寵の児 提交于 2019-12-01 23:18:20
问题 Is it possible to just say to TFS that I have a file (call it Version.txt) and I want it to be checked in at a location (say $/MyProject/MyVersionLocation) and not have any workspace setup for that location? Something like (pretend Syntax): tf.exe c:\Version.txt CheckIn $/MyProject/MyVersionLocation /WorkSpaceOverride If so, how do you do it? 回答1: It is not possible to checkin a file without a workspace mapping for that path. One option would be to use a combination of "tf workspace" and "tf

Visual Studio Crashing When Checking In

别说谁变了你拦得住时间么 提交于 2019-12-01 17:45:06
My Visual Studio 2013 is crashing when I trying to check in my pending changes everytime. How can I solve it? Crash Log : System.UnauthorizedAccessException: Package 'SccProviderPackage' failed to load. at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode) at Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 hr, Int32[] expectedHRFailure) at Microsoft.TeamFoundation.Git.Provider.ServiceProviderExtensionMethods.EnsurePackageLoaded(IServiceProvider

Facebook: Is it possible to DELETE a Checkin via Graph API?

僤鯓⒐⒋嵵緔 提交于 2019-12-01 12:34:53
When I post a checkin to Facebook the API returns the id of the story created. How can I delete this story? I tried to delete using DELETE -> /me/ID or DELETE -> /ID without success. I received the response GraphMethodException: Unsupported delete request. You're right, it doesn't work for me either: { "error": { "message": "Unsupported delete request.", "type": "GraphMethodException", "code": 100 } } But, as Lix quoted: NOTE: Publishing a Checkin object is deprecated in favor of creating a Post with a location attached. From https://developers.facebook.com/docs/reference/api/checkin/ It means

Facebook - Publish Checkins using PHP SDK/JavaScript SDK

拈花ヽ惹草 提交于 2019-12-01 12:09:49
I'm trying to publish checkin using Facebook Graph API. I've gone through Facebook API documentation (checkins) and also have the publish_checkins permission. However, my checkin is not getting published. May I know is there anything wrong or am I missing anything else? Thank you for your time :) fbmain.php $user = $facebook->getUser(); $access_token = $facebook->getAccessToken(); // Session based API call if ($user) { try { $me = $facebook->api('/me'); if($me) { $_SESSION['fbID'] = $me['id']; $uid = $me['id']; } } catch (FacebookApiException $e) { error_log($e); } } else { echo "<script type=

Facebook: Is it possible to DELETE a Checkin via Graph API?

余生长醉 提交于 2019-12-01 11:36:52
问题 When I post a checkin to Facebook the API returns the id of the story created. How can I delete this story? I tried to delete using DELETE -> /me/ID or DELETE -> /ID without success. I received the response GraphMethodException: Unsupported delete request. 回答1: You're right, it doesn't work for me either: { "error": { "message": "Unsupported delete request.", "type": "GraphMethodException", "code": 100 } } But, as Lix quoted: NOTE: Publishing a Checkin object is deprecated in favor of

Facebook - Publish Checkins using PHP SDK/JavaScript SDK

守給你的承諾、 提交于 2019-12-01 10:02:04
问题 I'm trying to publish checkin using Facebook Graph API. I've gone through Facebook API documentation (checkins) and also have the publish_checkins permission. However, my checkin is not getting published. May I know is there anything wrong or am I missing anything else? Thank you for your time :) fbmain.php $user = $facebook->getUser(); $access_token = $facebook->getAccessToken(); // Session based API call if ($user) { try { $me = $facebook->api('/me'); if($me) { $_SESSION['fbID'] = $me['id']

How to ensure that TFS clients has the latest version of a custom check in policy installed?

99封情书 提交于 2019-12-01 05:12:41
问题 We implemented a custom check in policy, and selected it for one of our TFS project. If a TFS client does not have the policy installed, TFS will show an error message with the installation instructions. This is all good. However we have a problem when there is a new version of the check in policy. It seems like TFS only enforces the policy name and not its version. So even if I remove the old policy reference and add the new, all clients who already has the old version installed are still

Scripting TFS Command Line for Get Latest Version, Check Out and Check in, programmatically

∥☆過路亽.° 提交于 2019-11-30 10:05:47
问题 I use WinXP, VS 2008 and Team Explorer to connect to Team Foundation Server. I need to script (e.g. BAT file script) the following: Get latest version of folder in Team Project. Check out files of folder in Team Project. Check in files of folder in Team Project. My TFSProject is $/Arquitectura/Main/ , mapped to the path C:\TFS\Arquitectura Does anyone have any sample code or suggestions? 回答1: Use tf.exe in the command line. In the following examples, the %PathToIde% is usually on a path like