Navigation

    Inedo Community Forums

    Forums

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. atripp
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by atripp

    • RE: Docker image pull through connector fails

      Hi @guyk ,

      Can you bypass the squid proxy and go directly to ACR? I saw a blog post long ago, where someone said something about proxies being an issue:

      https://faultbucket.ca/2022/05/aks-image-pull-failed-from-proget/

      Thanks,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Proget 2023.7 deadlocks on Get for Cached Packages

      Hi @chuck-buford_5284 ,

      Thanks for letting me know; can you let me know what queries were deadlocked? We shouldn't see any deadlock, but I guess it'd be possible for SELECT * FROM [NuGetFeedPackageVersions_Extended] to deadlock on itself depending on the query plan sql server uses.

      There are a few other things we can try, but we can't repro this at all, even in a test lab that's just hammering the database. Are you using SQL Server Express (i.e. what Inedo Hub installs by default)? It should work the same of course...

      Caching packages use that "CreatePackage method", so it's basically the same thing as installing a package I suppose.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Encode URI incorrectly cause GCR connector not working

      Hi @PMExtra ,

      Looks like this didn't make it to the 2023 codebase; I've just merged it in via PG-2388 (shipping this friday in ProGet 2023.8).

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: ProGet Release Retention Policies + API Delete

      @mness_8576 thanks! We definitely welcome feedback on the UI/UX - this is a new feature, so there's a lot of room to improve :)

      posted in Support
      atripp
      atripp
    • RE: Move the GitLab packages to Proget repo

      Hi @rochishgvv_4077 ,

      There is no way to continuously sync to a NuGet feed.

      You can create a "Connector" to your GitLab package registry, so that the packages are always on demand: https://docs.inedo.com/docs/proget-feeds-connector-overview

      You can download all the packages from a Connector using a Feed Downloader:
      https://docs.inedo.com/docs/proget-feed-importing

      You can configure GitLab to push to ProGet. We don't have any info on how to do that, however.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: ProGet Release Retention Policies + API Delete

      Hi @mness_8576 ,

      For now, archiving is the way to do it. Looking at the code too, it doesn't look like there's even an API to do it...

      Here is the code that BuildMaster uses, which clearly just sets the archive flag:

          /// <summary>
          /// Creates or updates the specified release with the specified data
          /// </summary>
          public async Task EnsureRelease(string projectName, string releaseNumber, string? releaseUrl, bool? active, CancellationToken cancellationToken = default)
          {
              using var response = await this.http.PostAsJsonAsync(
                  "api/sca/releases",
                  new
                  {
                      project = projectName,
                      version = releaseNumber,
                      url = releaseUrl,
                      active
                  },
                  cancellationToken
              ).ConfigureAwait(false);
      
              response.EnsureSuccessStatusCode();
          }
      

      Otherwise, we don't have automated deletion or retention policies for archived SCA releases; they don't take up much space (relatively speaking), and we didn't want to commit to retention rules so early on in the feature.

      If they become a problem (UI, performance, etc.), it's easy enough to delete a bunch via SQL for the time being... and that'll help us learn how to create policies. And we can add to API and all that :)

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Extension Loading error

      Hi @scroak_6473 ,

      I'm not sure what the issue is and the errors are very peculiar, I assume that everything works, until you restore the database?

      Afte restoring database, there are a few paths I would check under Admin > Advanced Settings:

      • Extensions.BuiltInExtensionsPath <--- should be C:\Program Files\ProGet\Extensions
      • Extensions.ExtensionsPath <--- should be C:\ProgramData\ProGet\Extensions
      • Extensions.CommonCachePath <-- should be C:\ProgramData\ProGet\ExtensionsCache
      • Extensions.UseNewExtensionLoader <--- should be checked
        And then after edting those, make sure to restart the web.
      posted in Support
      atripp
      atripp
    • RE: Proget 2023.7 deadlocks on Get for Cached Packages

      Hi @chuck-buford_5284 ,

      Thanks; that's exactly what I would have looked for in the file, thanks for sending that;

      How often are these coming up? What sort of hardware are you working with? Are you able to reproduce this consistently?

      The query pattern is implying that there's heavy usage while uploading or deleting packages, and I know we spotted some potential issues earlier - but wanted to wait to confirm something else.

      We have some optimized versions of FeedPackageVersions_DeletePackageVersion and FeedPackageVersions_CreateOrUpdatePackageVersion, but we didn't ship them just yet. Can you try them out? Just run the attached queries in https://inedo.myjetbrains.com/youtrack/issue/PG-2387

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Proget 2023.7 deadlocks on Get for Cached Packages

      Hi @chuck-buford_5284 ,

      I'm surprised to see these on v2023.7, but it's an issue we're working through (it's an entirely new indexing system).

      Can you provide us with your deadlock reports?

      It should be on your SQL Server, under Management > Extended Events > SEssions > system_health > package0.event_file. Then you can click on Filter (or CTRL-R), and add a filter for Field name = xml_deadlock_report.

      Ultimately what we're looking for are the xml files, specifically what two queries are deadocking.

      Here is some screenshots on how to do that:
      https://www.mssqltips.com/sqlservertip/6430/monitor-deadlocks-in-sql-server-with-systemhealth-extended-events/

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: "Bad handshake" when listening for agent

      Hi @jimbobmcgee ,

      The "Bad handshake" error is occurring (as you probably guessed) while trying to establish SSL tunnel. This basically occurs at the operating system level, and is usually a total mystery. The underlying error seems to be coming from SSPIWrapper.AcquireCredentialsHandle, and is just this:

      (0x8009030D): The credentials supplied to the package were not recognized

      I have absolutely no idea what that means, but... there's a ton of things I found via searching. A few articles are suggesting that it means lack of access to read the private key 🤷

      Maybe it's in the wrong folder (on the Otter server)? I think it needs to be in "Personal" folder of "Machine" certificates, but it sounds like it's definitely something wrong with Otter reading the certificate....

      Let us now if you find out more!

      Hope that helps,

      Alana

      posted in Support
      atripp
      atripp
    • RE: API method to get a specific object by name

      Hi @jimbobmcgee,

      We don't currently support via the API; it's not terribly complex/risky to do, but also not trivial.

      I'll add this to the "Otter 2023 wishlist", and it probably also get pushed to BuildMaster as well, since we want the API to be the same in both products.

      FYI - we would most certainly prioritize/implement this for a paying user (*wink* *wink*), but for now we'll keep it on the internal wishlist.

      posted in Support
      atripp
      atripp
    • RE: Apply-Template adding unexpected CR newline chars

      @jimbobmcgee thanks for all the help on this! While not a complicated fix, it might not be trivial - so put this on our internal BuildMaster 2023 board. We're in active development, and will review/fix this there, then look to backport to earlier versions of InedoCore.

      You're more than welcome to give it a stab as well...

      • relatively easy to modify/create extensions (https://docs.inedo.com/docs/creating-an-extension-for-v2022)
      • Otter is currently on SDK 2.1 (see versions), so you'd want to branch from here

      And feel free to submit a PR if you get something working; lot easier to review/test that way :)

      Quick comments...

      I assume that fileOps.NewLine uses the platform of the current for server, rather than the platform on which Otter is running

      Correct -- it's related to the agent that server uses. For PowerShell Agent, Local Agent, and Inedo Agent, NewLine returns Environment.NewLine. For SSH Agent, it's \n.

      However, this probably isn't accurate anymore; I suspect InedoAgent is incorrect if BuildMaster or Otter is running on Linux, and Inedo Agent is running on Windows. But I'm not sure.

      public bool RawMode { get; set; }

      Good point --- and to be honest I was a little surprised by the fact that these operations even rewrote new lines. Probably came from a support request... my guess is for when you're passing in literals or something :)

      In any case, we should probably switch to an enumeration like template operat has (TemplateNewLineMode) -- but a fourth option to the both (None).

      Anwyays -- we'll review a bit later if we don't hear back otherwise :)

      posted in Support
      atripp
      atripp
    • RE: Basic arithmetic in OtterScript

      Hi @jimbobmcgee,

      I fixed this via OT-493 FIX; Custom Server Targeting should be selectable if the script type is OtterScript. It was a regression in the job template editor.

      Am I right in saying that for server is only expected to work for Custom server targeting, though?

      Correct; as of Otter v3 it's no longer supported in other scenarios.

      And for server can take a scalar variable argument, such as...

      Also correct, so the code you shared should work!

      posted in Support
      atripp
      atripp
    • RE: ProGet 2023 Data Migration Failed

      Hi @MF-60085 FYI just sent you an email :)

      Let us know when you upload and we'll investigate from there!

      posted in Support
      atripp
      atripp
    • RE: ProGet 2023 Data Migration Failed

      Hi @MF-60085 ,

      This message is pretty strange, and not quite sure how it's possible.

      Are you okay sending us your database? That's going to be easiest.

      It's probably too big to attach, but you can send using a "large file transfer" type service. Or we can email you a secure link on our sharepoint server to upload.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: OT - SSH Secure Credentials Private Key ed25519

      Hi @philippe-camelio_3885 ,

      Just to confirm... is the issue just on the "Show Secret Fields" page?

      SSH Keys are a little weird, in that they're stored in binary; so I think that page is mistakenly tryring to display that as a string (hence the block characters).

      Cheers
      Alana

      posted in Support
      atripp
      atripp
    • RE: Basic arithmetic in OtterScript

      @jimbobmcgee said in Basic arithmetic in OtterScript:

      I can only prompt for variables with a job template, but the option for Custom server targeting is not available in job templates.

      That doesn't seem right! I'll investigate and report back :)

      posted in Support
      atripp
      atripp
    • RE: Apply-Template adding unexpected CR newline chars

      Hi @jimbobmcgee

      To be honest this is pretty old code and I'm not entirely sure how it works :)

      I wonder if this is the issue in Apply-Template?
      https://github.com/Inedo/inedox-inedocore/blob/master/InedoCore/InedoExtension/Operations/General/ApplyTemplateOperation.cs#L90

      I'm guessing the original string must have \r\n in it or something.

      Here's the Create-File code, where there seems to be another replacement:
      https://github.com/Inedo/inedox-inedocore/blob/master/InedoCore/InedoExtension/Operations/Files/CreateFileOperation.cs#L77
      I didn't have much time tot look closely, but wanted to share the code and see if you spotted antyhing!

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: API docs for ProGet health information is incorrect

      Hi @hwittenborn ,

      The API should output valid API, but I see there was a typo in the documentation. serviceStatus is either OK or Error, and the status detail will contain the error text.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Error retrieving packages from source 'https://xxx:8625/nuget/xxx/': Unable to connect to the remote server

      Hello, if the ProGet server is running (and didn't crash), and you don't see any errors on the ProGet server... then the issue is between the server and the client.

      You can try to trace this using a tool like Wireshare or Fiddler, but to be honest the error could be anything including a bad wifi/network connection. It's not PRoGet or chocolatey specific, so you can search broadly for "how to troubleshoot unable to connect to remote server" for lots and lots of tips on how to resolve such an error.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Error retrieving packages from source 'https://xxx:8625/nuget/xxx/': Unable to connect to the remote server

      Hi @jhaas_7815,

      The message "Unable to connect to the remote server" basically means that Chocolatey client can't connect to ProGet at https://xxx:8625/nuget/xxx/'. If you entered the same URL in your browser, I would expect a similar error.

      I would check to make sure that the ProGet web site is running. You may need to restart IIS, etc. There's probably some kind of error on the IIS side, but it's really hard to guess what it is.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Basic arithmetic in OtterScript

      Hi @jimbobmcgee ,

      You're right, you would have to switch to localhost; however, you wouldn't have to "switch back". In other words, this would work fine:

      for server MyLinuxServer
      {
        set $MyResult = "";
        for server localhost 
        {
          $MyResult = $PSEval((5 + 3) * 4 / 3^0.5);
        }
      }
      

      You could wrap it in a Module, so you could do this:

      call MyMaths ( compute: (5 + 3) * 4 / 3^0.5, results => $MyResults);
      

      Otherwise, if you were so inclined, you could create a variable functions in C# that could handle this as you'd expect. But that's quite complex (parsing it, finding a parsing library, etc.), and we're hesitant to explore this any further as a result.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: OT - Credential Property broken ?

      Hi @philippe-camelio_3885 , there's definitely a bug... it was just hard to reproduce.

      The issue was the Otter was looking at the wrong credential to determine if function access was allowed...

      posted in Support
      atripp
      atripp
    • RE: Two possible new bugs in BM

      Hi @ForgotMyUsername ,

      I can't reproduce #1, and I don't have enough details (specific error messages, stack traces, etc) to guess what the issue could be. Same for #2 -- I would need to see specific OtterScript and the errors you're getting to take a guess at where the problem is.

      One thing that would be helpful, if you could create step-by-step reproduction information. For example,

      1. Create application named TOM + JERRY
      2. Create PowerShell Script named XYZ
      3. etc...

      Short of that, stack traces and errors logs are really important. There are a lot of copmontents working together, and hard to guess based on general descriptions :)

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: OT - Credential Property broken ?

      @philippe-camelio_3885 thanks for confirming that it was broken, I took a closer look and figured it out :)

      It will be shipped in the next maintenance release as OT-492 (and also in BuildMaster via BM-3846)

      posted in Support
      atripp
      atripp
    • RE: Otter and High Memory Usage

      @ForgotMyUsername great news, thanks for letting us know :)

      posted in Support
      atripp
      atripp
    • RE: OtterScript and Isolate.

      Hi @ForgotMyUsername ,

      I'm not sure I'm know where the issue is... can you provide the OtterScript? Or the specific error/logs that triggered that message.

      The with isolation is supported, and is a checkbox on the advanced tab of the General block.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: OT - Credential Property broken ?

      Hi @philippe-camelio_3885 ,

      I can't reproduce this at all....

      1. Admin > Secrure Credentials> Create
      2. test with Username = myuser, PAssword = mypass, check "function usage allowed"
      3. Create script Credtest.otter with contents below
      4. Run as Ad-hoc job on local host <-- works OK
      5. Admin > Secure Credentials, uncheck function allowed
      6. Run as Ad-hoc job on local host <-- failed as expected
      7. Admin > Secure Credentials, check function allowed
      8. Run as Ad-hoc job on local host <-- works OK

      So it seems to be working as expected. And as Rich mentioned, the code seems fine and hasn't been changed.

      Here's the script:

       set $CredentialUser = $SecureCredentialProperty(test, Username);
       set $CredentialPwd = $SecureCredentialProperty(test, Password);
      
       Log-Information User is $CredentialUser, Password is $CredentialPwd;
      
      posted in Support
      atripp
      atripp
    • RE: NuGet Package README Display

      Hi @richard-gagliano_3594 ,

      Actually we reviewed this for ProGet 2023, but ultimately decided not to it.

      The main reasons were,
      (1) it wouldn't work well for remote packages, since we don't have the package file locally
      (2) different behavior for remote and local/cached packages is confusing to explain and adds a support burden
      (3) it was not trivial with the way README was implemented on NuGet and our abstractions
      (4) not in demand - we've had one other request (5 years ago) for this, and it was before the spec was finalized

      I suppose you could say that "demand has doubled", but probably best to wait if we have more requests for this... given that it's not trivial and the behavior may be quirky.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: [ProGet] Frontend resources for Proget GUI are not working

      Hi @k-gosciniak_5741 ,

      We've got no clue what's causing that, but definitely some kind of IIS configuration. Ultimately I don't think the request for that file is being passed into ProGet, but IIS is trying to find the file on disk instead (which it obviously won't be).

      I would guess if you put a file on disk that file would be served via that URL. IT's just a guess.

      Other things to look at ... MIME mappings, I've seen those do strange things. Maybe there's other IIS modules. It's really hard to guess.

      It might just be easiest to switch to the Integrated Web Server; you can just uninstall / reinstall ProGet. That won't use IIS then.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Sync BM from OT

      Hi @philippe-camelio_3885,

      I don't know where the "extra commas" came from, but Otter/BuildMaster wouldn't have generated them that I can tell? It's not like there's a flag we can pass to our JSON library to say "make invalid format" 😉

      But in any case, the API response looks valid to me, and it seems to be importing okay?

      The Property "Value" was not erxpected message is what you would get if you tried to import the "bad" (extra commas) JSON document.

      Maybe try syncing again? The sync is really just an automated version of the manual process, and uses the same code base.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Sync BM from OT

      ... hmm that's really weird. Those commas aren't showing up on my instance.

      Can you go to Admin > Infrastructure > Export; what do you see showing up there?

      That uses the same JSON-serialization code as the API.

      You can also copy/paste that JSON into Admin > Infrastructure > Import, and do a kind of manual sync.

      posted in Support
      atripp
      atripp
    • RE: [ProGet] Frontend resources for Proget GUI are not working

      hI @k-gosciniak_5741 ,

      That's weird; I would try to restart the application pool. Then, try switching from "Classic" to "Integrated" (or vice versa) on the application pool. Both should work... but "Integrated" seems to work best.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: OT/BM Configure linux server connection with implicit sudo

      Hi @philippe-camelio_3885 ,

      Thanks for clarifying!

      I'm not sure why that won't work as a "normal" user, but I'm guessing it has to do with the /etc path or something.

      But in any case... I don't think it's possible, at least with our knowledge of the underlying technologies. We rely on the "subprotocol" of SFTP for most file-based operations, and we rely on libssh2 to handle SFTP communication. How those protocols/libraries work is kind of a black box at that level.

      On the plus side, you should be able to write "ensure" scripts using Bash :)

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Sync BM from OT

      Hi @philippe-camelio_3885 ,

      I would expect the "could not be loaded as JSON" message if the endpoint was giving some kind of error.

      What happens when you query:
      https://otter-2023.ocapiat.fr/api/infrastructure/all/list?key=*****

      Is there a kind of error there?

      Thanks,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Chocolatey PUT request - The specified network name is no longer available

      Hi @norbert ,

      Based on the error messages, the problems is occurring somewhere between the ProGet and choco.

      • Chocolatey is reporting that the remote connection was forcibly closed.
      • ProGet is reporting that the client unexpectedly disconnected.

      It's the equivalent of someone "cutting the cord" halfway through the communication, and there's no way to know where that happened or why.

      You'll need to investigate intermediate equipment. Typically it's a firewall, ,proxy, or other gateway that is misconfigured.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: ProGet Expiration Date

      Hello,

      You can find it under Admin > License Key; here's more information that might be helpful:
      https://docs.inedo.com/docs/myinedo-activating-a-license-key

      Cheers.
      Alana

      posted in Support
      atripp
      atripp
    • RE: OT/BM Configure linux server connection with implicit sudo

      Hi @philippe-camelio_3885 ,

      I don't believe that root is required to SSH into a Linux server.

      What did you mean by implicit sudo? I guess you could run sudo from your shell scripts, but I wasn't sure if that's what you meant.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: vulnerability

      Hello @jonathan-brown_3775 ,

      This is considered a "false positive", so please disregard those results :)

      Those are JavaScript files that run inside your browser to display certain charts about feed disk usage in the Web interface; there is no possibility whatsoever of a security vulnerability or attack coming from these javascript files inside of ProGet.

      Thanks,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Buildmaster - Gitea Tie In

      Hi @pooms_7365 ,

      Thanks, I found where the error is in the code; it was in displaying the "code has not been synced" message. Easy fix (BM-3845) and it will ship in next maintenance release :)

      And wow... 15gb!

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: BuildMaster Bugs

      Hi @ForgotMyUsername ,

      1. Checkout-Code operation using Generic Git repository with recurse submodules...

      I can't reproduce this, but I can see how that issue might occur. Your repository must have a GitLink entry in the target tree (i.e. folder you're checking out), but there's no corresponding reference entry in the .gitmodules file. I've updated that to be a warning., and just pushed the Git 2.2.3 extension.

      It will be included in the next maintenance release of BuildMaster, or you can download/upgrade now.

      1. Every minute an exception appears...

      Nice find; this will be fixed in next maintenance release (2022.10) via BM-3844

      1. Clone application fails when trying to clone application using generic git repository...

      I believe this is related to importing "releaseless-builds", and this may be fixed in 2022.9 via an internal commit (i.e. one we didn't log an issue for). Clone does an export then import. If that doesn't fix it, please export the application and provide it to us, so we can inspect the file for issues.

      Regarding [5], can you send logs? The scenario you describe (existing repo with the same name) is already tested and handled, but there's likely something that's missing.

      posted in Support
      atripp
      atripp
    • RE: Otter - IIS Ensures

      Hi @ForgotMyUsername ,

      Unfortunately this is not going to be possible to debug with the information you've provided.

      Except for the misspelling of Certficiate (which would have no bearing on executing the script), a cursory glance of the code shows that everything is otherwise wired up as expected:

      • IisSiteBindingConfiguration.cs
      • IisSiteConfiguration.cs

      So, I'm hoping you help troubleshoot/debug some more, to show us where the issue is.

      IIS settings are ultimately stored in the applicationHost.config stored under %windir%\System32\inetsrv\config\. We do not directly work this file (as you can see from the code), but it's the easiest way to review the settings in IIS that Otter makes.

      To help us reproduce these issues, can you send:
      (1) Relevant appPool and site elements from the config file
      (2) OtterScript code that should work with those entries
      (3) Actual vs expected results in the config file

      And one note on the bindings... unfortunately this is a difficult problem in general to solve because IIS Sites have multiple bindings, but users often don't want to clear bindings. We used to have a Bindings property (it's still htere) that lets you specify a map, but it was too difficult/confusing to use.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Otter and High Memory Usage

      Hi @ForgotMyUsername,

      Under-the-hood, Otter uses an in-process PowerShell Host (i.e. a runspace) to execute scripts, and does not invoke PowerShell.exe:
      https://github.com/Inedo/inedox-scripting/blob/master/Scripting/InedoExtension/PowerShell/PowerShellScriptRunner.cs#L181

      And as you can see in the code, Otter is properly creating/disposing of those runspaces.

      I'm not sure where the powershell.exe processes are coming from, but it sounds like you have some problematic scripts. These will cause a lot of memory to be consumed and never released. In addition, perhaps they are calling other scripts using powershell.exe? Or something? It's really hard to guess...

      In any case, Otter already has a mechanism called Isolation (with isolated) that can be used to help solve problematic scripts like this.

      When something is run as isolated, then a new Otter.Agent.exe process is created to handle the unit of work (such as a script execution). When the work is done, that process is terminated; if it doesn't terminate, then it is killed within 5 seconds.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Basic arithmetic in OtterScript

      Hi @jimbobmcgee,

      OtterScript is a DSL and doesn't have a lot of "general purpose" things like maths, as you've noticed. This is by design.

      But you can just use PowerShell for that; for example, set $MyResult = $PSEval((5 + 3) * 4 / 3^0.5);

      There isn't any noticeable overhead.

      PowerShell is probably also more suitable for string manipulation as well, especially when you're working with diskpaths and the like.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: ProGet -> Helm: Unable to cast object of type 'System.String' to type 'Inedo.ProGet.Feeds.IComparablePackageVersion'.

      Hi @h-morgenthaler_3015, we are currently investigating this. ,It sounds like an issue we fixed in ProGet 2022 already, but maybe it didn't get merged over. Please stay tuned.

      posted in Support
      atripp
      atripp
    • RE: Inedo Proget Plugin in Jenkins Error

      Hello, unfortunately we really don't know what the underlying issue could be. Perhaps it's only an error on the "test" button, and the plug-in will work?

      This is not an Inedo-created plugin, and we're not familiar with Java or Jenkins to know how to to debug it. It should still work (and I know we have some users who got it working), but otherwise we don't really know how to debug it I'm afraid :(

      The source code is here, but I don't know if it's at all helpful:
      https://github.com/jenkinsci/inedo-proget-plugin

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Onboarding duplicated template VMs to Otter

      Hi @jimbobmcgee ,

      The "Secret key" field is just an arbitrary string that needs to match on both the Agent and the Otter Server; it needs to be unique across your servers, as its used to uniquely identify an incoming agent connection. The UI generates a random string, but you can enter whatever you'd like.

      There needs to be a Server record on the Otter server (i.e. on the "Servers" page) before an agent can connect to Otter. This is true for either Incoming or Outgoing communication modes. This is often called "server registration".

      One option is to servers self-register in Incoming mode; you can have the the following script on first boot:

      1. Generate a random string ("secret key"); you could use a GUID
      2. use the Infrastructure API from the server to "register" the server using that key
      3. edit the agent configuration file to have that key
      4. start the Inedo agent service

      Hope that helps,
      Alana

      posted in Support
      atripp
      atripp
    • RE: Buildmaster keeps notifying it needs to be restarted

      Hi @Justinvolved ,

      Oooh - I thought we removed those flags/notices from BuildMaster 2022 😲

      Looks like we only removed the code that clears them, and almost all of the code that sets them (with the exception of the CEIP page).

      Anyway, I've vanquished the code for good via BM-3839.

      In the mean time, please run sql this command to clear the notices:

      DELETE [Configuration] WHERE [Key_Name] IN ('Service.DelayExecutionsWhenRestartRequested','Service.RestartRequested', 'Web.RestartRequested')
      

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: promote PSGallery including all depedencies

      Hi @d-gleissner_8620 ,

      The best way to handle this scenario is with two feeds (unapproved and approved packages); install from the unapproved in your development environment, and then to promote packages (in bulk) from the unapproved to the approved feed.

      Unfortunately, it's not feasible for a tool like ProGet to handle dependency resolution; a dependency is specified as a range (for example, PackageA requires PackageB 3.2 or later), and it's up to the environment (i.e. the client doing the installation, PSGet) to determine which dependencies are currently available and not available.

      For example, if you already had "PackageB 3.3" installed, then PowerShell would not install it, even if "Package B 3.4" is the latest version. It gets even more complicated when it comes to platform dependencies and all that. Ultimately, ProGet can't have such environmental knowledge.

      hoep that helps!

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • RE: upack cli --version and --manifest

      Hello,

      This is by design; looking over the code, it seems the command says "If metadata file is provided, value will be ignored." I can't answer why that's the design/behavior.

      You're welcome to submit a pull request to update the behavior. Here is the relevant code:
      https://github.com/Inedo/upack/blob/master/src/upack/Pack.cs

      My main concern is, what if someone is relying on the value being ignored , either accidently or intentionally. I don't have a great idea for how to address that concern... though my first thought is to deprecate the manifest argument and rename to manifestFile.

      So it's not a trivial change, but you're welcome to give it a shot. It's unlikely we will implement this ourselves anytime soon, as we have a lot of other feature requests on ProGet that take priority, and UPack gets a decent number of pull requests from the community.

      Cheers,
      Alana

      posted in Support
      atripp
      atripp
    • 1
    • 2
    • 15
    • 16
    • 17
    • 18
    • 19
    • 38
    • 39
    • 17 / 39