Jump to content

Search the Community

Showing results for tags 'extension'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Plastic SCM
    • General
    • Installation and configuration
    • Unity 3D
    • Plastic SCM on Mac
    • Plastic SCM on Linux
    • Gluon
    • Git interop
    • Integrations
    • Community Edition
    • Branching and merging
    • Announcements
  • Plastic SCM 4.0 Beta (Closed)
  • Plastic Cloud
    • General
    • Configuration
  • SemanticMerge
    • General
    • License
    • SCM's configuration
    • Share your experience!
    • External Parsers
  • GitJungle
  • Method History for Subversion

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 4 results

  1. We are doing a Favro issue tracking extension for Plastic. The extension is working on Windows properly and almost working on Linux. I have 2 questions: 1. We need to recompile the extension for every version of Plastic because we're suffering .NET DLL Hell problem. I've tried using the bindingRedirect mecanism with the issuetrackerinterface.dll to reduce the problem at least enabling backward compatibility but without any success. Do you know any way to avoid the need to recompile the dll plugin for every Plastic version? 2. I'm having one issue in linux when accessing the Favro API with HttpWebRequest.GetResponse() method if the URL is https. It seems the mono included in the Plastic installation do not have complete TLS support. If I do the same request using a typical linux mono instalation, all is working properly. This is the exception thrown: 2020-08-14 01:18:12,596 goldenbox ERROR favroextension - Unexpected error while retrieving assigned cards System.Net.WebException: Error: SecureChannelFailure (The authentication or decryption has failed.) ---> System.IO.IOException: The authentication or decryption has failed. ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: The authentication or decryption has failed. at Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (System.IAsyncResult asyncResult) [0x00040] in <9c4d6f9060314ca4a265631d657910a8>:0 at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (System.IAsyncResult ar, System.Boolean ignoreEmpty) [0x00000] in <9c4d6f9060314ca4a265631d657910a8>:0 at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (System.IAsyncResult result) [0x00071] in <9c4d6f9060314ca4a265631d657910a8>:0 --- End of inner exception stack trace --- at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (System.IAsyncResult result) [0x0003b] in <9c4d6f9060314ca4a265631d657910a8>:0 at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (System.IAsyncResult asyncResult) [0x0000c] in <9c4d6f9060314ca4a265631d657910a8>:0 --- End of inner exception stack trace --- at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (System.IAsyncResult asyncResult) [0x00057] in <9c4d6f9060314ca4a265631d657910a8>:0 at Mono.Net.Security.Private.LegacySslStream.EndAuthenticateAsClient (System.IAsyncResult asyncResult) [0x00011] in <9c4d6f9060314ca4a265631d657910a8>:0 at Mono.Net.Security.Private.LegacySslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000e] in <9c4d6f9060314ca4a265631d657910a8>:0 at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) [0x00044] in <bd46d4d4f7964dfa9beea098499ab597>:0 --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00064] in <bd46d4d4f7964dfa9beea098499ab597>:0 at System.Net.HttpWebRequest.GetResponse () [0x0000e] in <bd46d4d4f7964dfa9beea098499ab597>:0 at FavroPlasticExtension.Favro.API.Connection.ParseWebResponse (System.Net.HttpWebRequest request) [0x00008] in <7a01fcc46c0e49f295ff341e41727ae6>:0 I've found a way to select the TLS provider setting the environment variable MONO_TLS_PROVIDER to "newtls" and then launching Plastic. In that case the exception changes to: 2020-08-14 01:22:24,505 goldenbox ERROR favroextension - Unexpected error while retrieving assigned cards System.Net.WebException: Error: SecureChannelFailure (Value cannot be null. Parameter name: type) ---> System.ArgumentNullException: Value cannot be null. Parameter name: type at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00006] in <8f2c484307284b51944a1a13a14c0266>:0 at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <8f2c484307284b51944a1a13a14c0266>:0 at Mono.Security.Providers.NewTls.TlsProviderFactory.CreateInstance (System.String typeName, System.Object[] args) [0x00011] in <1182f9105a984f0db543bfbe19a1d7f8>:0 at Mono.Security.Providers.NewTls.TlsProviderFactory.CreateTlsConfiguration (System.String hostname, System.Boolean serverMode, Mono.Security.Interface.TlsProtocols protocolFlags, System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, System.Boolean remoteCertRequired, Mono.Security.Interface.MonoTlsSettings settings) [0x00059] in <1182f9105a984f0db543bfbe19a1d7f8>:0 at Mono.Security.Providers.NewTls.NewTlsProvider.CreateTlsContext (System.String hostname, System.Boolean serverMode, Mono.Security.Interface.TlsProtocols protocolFlags, System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Boolean remoteCertRequired, Mono.Security.Interface.MonoEncryptionPolicy encryptionPolicy, Mono.Security.Interface.MonoTlsSettings settings) [0x00000] in <1182f9105a984f0db543bfbe19a1d7f8>:0 at Mono.Net.Security.Private.MonoTlsProviderWrapper.CreateTlsContext (System.String hostname, System.Boolean serverMode, Mono.Security.Interface.TlsProtocols protocolFlags, System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Boolean remoteCertRequired, System.Boolean checkCertName, System.Boolean checkCertRevocationStatus, Mono.Security.Interface.MonoEncryptionPolicy encryptionPolicy, Mono.Security.Interface.MonoTlsSettings settings) [0x00000] in <bb4ddfbbc63f4e71b9e4ed97797eb69e>:0 at System.Net.Security.GlobalSSPI.Create (System.String hostname, System.Boolean serverMode, System.Net.Security.SchProtocols protocolFlags, System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Boolean remoteCertRequired, System.Boolean checkCertName, System.Boolean checkCertRevocationStatus, System.Net.Security.EncryptionPolicy encryptionPolicy, System.Net.Security.LocalCertSelectionCallback certSelectionDelegate, System.Net.Security.RemoteCertValidationCallback remoteValidationCallback, System.Net.Security.SSPIConfiguration userConfig) [0x00035] in <bb4ddfbbc63f4e71b9e4ed97797eb69e>:0 at System.Net.Security.SecureChannel..ctor (System.String hostname, System.Boolean serverMode, System.Net.Security.SchProtocols protocolFlags, System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Boolean remoteCertRequired, System.Boolean checkCertName, System.Boolean checkCertRevocationStatus, System.Net.Security.EncryptionPolicy encryptionPolicy, System.Net.Security.LocalCertSelectionCallback certSelectionDelegate, System.Net.Security.RemoteCertValidationCallback remoteValidationCallback, System.Net.Security.SSPIConfiguration config) [0x00093] in <bb4ddfbbc63f4e71b9e4ed97797eb69e>:0 at System.Net.Security.SslState.ValidateCreateContext (System.Boolean isServer, System.String targetHost, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Boolean remoteCertRequired, System.Boolean checkCertRevocationStatus, System.Boolean checkCertName) [0x0011b] in <bb4ddfbbc63f4e71b9e4ed97797eb69e>:0 at System.Net.Security.SslState.ValidateCreateContext (System.Boolean isServer, System.String targetHost, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Security.Cryptography.X509Certificates.X509Certificate serverCertificate, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Boolean remoteCertRequired, System.Boolean checkCertRevocationStatus) [0x00000] in <bb4ddfbbc63f4e71b9e4ed97797eb69e>:0 at System.Net.Security.SslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x00000] in <bb4ddfbbc63f4e71b9e4ed97797eb69e>:0 at Mono.Net.Security.Private.MonoSslStreamWrapper.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x00006] in <bd46d4d4f7964dfa9beea098499ab597>:0 at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) [0x00044] in <bd46d4d4f7964dfa9beea098499ab597>:0 --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00064] in <bd46d4d4f7964dfa9beea098499ab597>:0 at System.Net.HttpWebRequest.GetResponse () [0x0000e] in <bd46d4d4f7964dfa9beea098499ab597>:0 at FavroPlasticExtension.Favro.API.Connection.ParseWebResponse (System.Net.HttpWebRequest request) [0x00008] in <2acce4eed62044479c0cbbe82dc4ff28>:0 Another way to reproduce this exception directly from bash is launching this command: /opt/plasticscm5/certtools/certmgr -ssl https://favro.com And if you use the default mono certmgr works ok: certmgr -ssl https://favro.com Any help with these questios will be appreciated. Thank you so much.
  2. Hey folks, We use Bugzilla 4.4.1 over here, so I went ahead and got the bugzilla extension up and running for that version at least. I've attached the working 'plastic.cgi' to this post. Details on changes are listed below. Please read the first item on the "XML::Simple" perl module at least, as it may require you to do more than just download the updated cgi. On a side note, it looks like "sub markasopened" still needs some help, as I didn't see this working...though I currently have no need for it so I haven't spent any time on it. I believe I saw the source for the extension's client side library somewhere on these forums, so I may grab that and start fiddling soon. It would be useful to us to be able to select a product or at least sort by product in the "Create a new child branch from task" window. Details: Missing perl module Initially, the extension (via the Plastic SCM GUI) was complaining that it couldn't connect to my Bugzilla instance. Monitoring the apache logs on the Bugzilla server revealed that I didn't have the required "XML::Simple" perl module installed. Make sure you do that! This immediately solved my connection error and allowed Plastic SCM to communicate with the Bugzilla server. A more motivated person could have plastic.cgi install this module automatically if not found. While the extension was now able to connect to Bugzilla, it still wasn't displaying anything in the Plastic client, so more was needed. plastic.cgi changes: 1. Make sure the "@allowed_statuses" array (defined at line #49) contains statuses that are valid to your Bugzilla configuration. We had a few custom ones. 2. The "@selectedcolumns" array contained an invalid column name according to Bugzilla 4.4.1: "short_short_desc". I changed this to "short_desc". This is the title/summary of the bug report. 3. The Bugzilla db query at line #116 doesn't account for the user's security groups. If you're using these in Bugzilla, the query will come back empty, preventing pending tasks from populating when creating a new branch through "Create a new child branch from task". I've added a new argument to the Search function here, "'_no_security_check' => 1", to bypass security groups. If you're uncomfortable with this, you could instead define "my $bugzilla_user = Bugzilla::User->new({name => $user});", then pass " 'user' => $bugzilla_user " into the Search function to prompt Bugzilla to search using the user's security groups. I didn't do this because it only worked when populating pending tasks assigned to the user. Checking the "Display pending tasks from all users" checkbox continued to trigger queries that didn't use the user's security group, returning empty. If anyone can figure out why, please let me know! 4. Bugzilla 4.4.1 uses "Bugzilla::Bug->comments" to store all comments and the bug description, instead of "Bugzilla::Bug->longdesc". That case is handled at line #200, but assumes first-in-last-out. It appears Bugzilla 4.4.1 uses first-in-first-out here, so I changed the reference "$bug->comments->[0]{'thetext'}" to "$bug->comments->[-1]{'thetext'}" on line #200. plastic.cgi
  3. Our DBA is having issues, and I get it. When databases are created, though we can specify a file name and location, we usually let the SQL Server and SQL Server Instance do that, because they have whatever settings they have. The data files all default to .mdf. That's a Microsoft standard, not something particular to our DBAs. When repositories are created by the server, The databases are created with the extension of .plastic instead of .mdf. I tried the DatabaseSuffix setting in the db.conf, but it is a true suffix, not the file extension. What we are expecting to be stored based on our server and instance settings as PlasticSCMrep_48.mdf is stored as PlasticSCMrep_48.plastic. When I use a suffix as mdf, I get PlasticSCMrep_48mdf and a file name of PlasticSCMrep_48mdf.plastic. If there is a way to deal with that file extension convention, my DBAs and I would appreciate knowing that. OH! And is there a way to specify the path for the database logs? The DBAs have a separate SAN drive for the logs so that backups can be handled per drive and some other things to which I am not privvy. Thank you.
  4. We have successfully created an extension that will hook into Target Process and pull back ticket information to Plastic. In Version 3, this integration with a Tracking system would change the name of the branch. In version 4 this isn't happening. Please let us know what you think. Thanks, Adam
×
×
  • Create New...