text:
Create, delete, move notes/journal entries outside of Dendron (e.g. across machines)?

Describe the bug
I'm dying for a replacement for my current note-taking/journaling system (MS OneNote online), which A) sucks in general, and B) dies under the weight of too many notes.
Your goals and Dendron resonate, I like VSCode integration (and all that it comes with, MD Preview Enhanced, vim, etc).  So these are more of questions than bug reports (and likely I am misusing Dendron).
Does Dendron support the creation and deletion of notes and journal entries via the filesystem (linux and macOS in my case)?  If I create, delete, move or rename a note or journal entry via the shell/filesystem, Lookup seems to get confused, can no longer traverse the Hierarchy, and simply doesn't find existing notes.  Even after I reload the index.
To Reproduce Use-Case 1
Steps to reproduce the behavior:

Create a New Journal Note
Rt-click on it via the VSCode Explore and Delete.  OR just remove it via the filesystem.
Ctrl-L to Lookup.  It doesn't see any existing notes.

To Reproduce Use-Case 2: multiple machines + git
Steps to reproduce the behavior:

Given I have multiple machines, I'd like like to use git + a private git remote and use Dendron notes/journal entries across these machines.  Is this an intended use case?  Better ideas on synchronizing Dendron notes/journal across machines?
Clone an existing Dendron-based workspace git repo to second machine (or even to a new path on the same machine)
Open this Dendron workspace in VSCode.
Ctrl-L to Lookup.  It doesn't see any existing notes.

I suspect whatever indexing system/data structures you're using under the VSCode hood doesn't like when things happen outside of Dendron.
Thoughts?
Desktop (please complete the following information):
OS A):
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.4 LTS
Release:	18.04
Codename:	bionic
Window mgr:     i3

OS B):
15-inch MBP
macOS Mojave 10.14.4

VSCode version for OS A):
Version:  1.47.2
Commit: 17299e413d5590b14ab0340ea477cdd86ff13daf
Date: 2020-07-15T18:22:15.161Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.4.0-42-generic

VSCode version for OS B):
Version: 1.47.3
Commit: 91899dcef7b8110878ea59626991a18c8a6a1b3e
Date: 2020-07-23T13:08:29.692Z
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 18.5.0

Hey @jfinken
Thanks for using dendron and you're all good. I'm still working on updating the docs so if something is confusing, it's most likely something I can improve on my end 😅
Also heads up that I'm doing optional 30min onboarding with new users to help folks get started. If you're interested, you can book a zoom slot here.
To Reproduce Use-Case 1
This is a known issue. Working on properly handling this case and will be fixed this week. Tracking issue https://github.com/dendronhq/dendron/issues/72
Current workaround is to run Dendron: Reload Index after deletion.
To Reproduce Use-Case 2: multiple machines + git
Yes, it is. The default workspace settings had it set to an absolute path pre 0.5 which is why it didn't work across git repositories. The default has now been updated. You can fix your existing setting by making the following changes in your dendron.code-workspace file:

dendron indexes the first folder as the vault. make sure this is a relative path

"folders": [
        {
            "path": "vault"
        },
    ],

update dendron.rootDir to be relative

"settings": {
    "dendron.rootDir": "."
}

Many thanks for getting back to me @kevinslin .  After a fresh clone of my little journal repo, I've reloaded the index, "path": "vault" is set, as is the "dendron.rootDir": ".".  Still nothing on Lookup.  So I'm sure I'm messing up something.
$ tree journal/
journal/
├── dendron.code-workspace
├── dendron.yml
└── vault
    ├── backlog.journal.2020-07-28.md
    ├── backlog.journal.2020-08-03.md
    ├── dendron.schema.yml
    ├── root.md
    └── root.schema.yml

1 directory, 7 files

Thanks for the onboarding offer!  I'll take you up on it.  If a particular slot already has someone signed-up I'd be happy to try join that time if I can to save you time.  Thanks!

hmm, there doesn't seem to be anything wrong from looking at your journal. and do you have the latest dendron (5.0) installed on both operating systems?
two things. if you run Dev:Dendron: Open Logs, you'll get a log file open on vscode. If you could attach the log after trying to do a lookup, that will help me debug.
As for slots, these are meant to be one on one slots so its all good.

heads up that deleting notes outside of vscode has been fixed as of 0.5.4 :)

dendron 0.5.7 should have fixed this issue. can you confirm after you have a chance to upgrade?

With 0.5.7, Lookup definitely seems better and/or fixed altogether.  Great work!

glad to hear it. closing issue then. feel free to issue more if you come across something :)

authors: jfinken kevinslin

repo: dendronhq/dendron


text:
Spark Except 和 intersect 不准确

todo

用法错误

source: gharchive/issue

repo: dengziming/spark

license_type: permissive

license_source: github-api


text:
Fix misleading size for directories

Not showing anything on dir paths for now rather than 0B which is misleading.
Realistically we should pull total size inside a directory but we've bigger fish to fry.

Looks good :+1:. Can you merge with master please?

@lucacasonato sure thing. closing this one.

source: gharchive/pull-request

authors: kennanseno lucacasonato

license: MIT


text:
feat: add canonical url of manual pages

This adds canonical url meta tags to the manual pages. ref. https://developers.google.com/search/docs/advanced/crawling/consolidate-duplicate-urls
The effect of this change is that the search engines will always list the latest version of the same page in the search result instead of versioned pages.
For example, if I search for the query deno config in google now, the search result shows https://deno.land/manual@v1.16.0/getting_started/configuration_file (outdated version) for the first result. This will be changed to https://deno.land/getting_started/configuration_file (latest version) by this change.
closes #2010

I'll send this again to fresh version of the website later.

repo: denoland/dotland


text:
feat: adding item numbering on the homepage

Should close #211

Hm... Looking at it now, I wonder whether we should have this. Rank being so close to voting score clashes visually. What do you guys think, @brunocorrea23 and @kit?

and @kit?

Hmm... Looking at it, I wonder is asking me or not ? 🤔
JK
Yup I don't think item numbering is necessary for this case

I think it's nice to have the rank of items. Reaching a higher rank gives an idea of an achievement. I think it's specially useful  when you are not in page number 1.
I was inspired by Hacker News.
Their solution is visually better probably probably because vote count (or points) is smaller than the item rank.

That being said, no strong conviction here. Either way looks good to me.

Ok. I'll close this for now. This feature would be nice-to-have but not critical. Either way, much appreciated, @brunocorrea23!

authors: brunocorrea23 huai-jie iuioiua

repo: denoland/saaskit


text:
Integrating new d3.js chart as layout in raw.js

Is there any official API or guiding docs which can be used to integrate new layouts in raw.js. I cannot find anyone. And if there is not, can someone give me suggestion that is it possible or not...? And if possible, is it difficult task which will take weeks to accomplish...? or simple which can be completed with less effort.

Hi @hhsadiq, take a look here: https://github.com/densitydesign/raw/wiki/Adding-New-Charts

authors: hhsadiq iosonosempreio

repo: densitydesign/raw


text:
Print GHC version instead of stack version

I think it would be more interesting to see the GHC version as opposed to the stack version for haskell projects.

Why showing ghc version is more helpful ?
cc: @hariprasadkulkarni

The version of the build tool is not as interesting. For example, if I am using ruby I don't need to see what version of rake I am using. I want to see the ruby version. Or if I am using java I don't want to see the version of maven or gradle. I want to see the java version. For the same reason I find the GHC version more interesting than the stack version.

@rteabeault Stack is released with a particular version of ghc. Using the stack version a user can get the version of both stack and ghc.

@hariprasadkulkarni Stack is not pinned to a version of GHC. The version of stack does not indicate what version of GHC I am using for any given project.

OK. I'm fine with GHC then. But please change the README too.
And this still needs stack to be installed to show the GHC version.

I've added frozen label, since it's blocked by 3.0's breaking changes (see #148).

Thanks for contributing!

authors: denysdovhan hariprasadkulkarni rteabeault salmanulfarzy

repo: denysdovhan/spaceship-zsh-theme

license: mit

license_source: bigquery


text:
Pass intent the image id/drawable

I have a question. How do i pass image id from the arraylist? I successfully pass the title by intent. For example here is mine :
slideShow = findViewById(R.id.image_slide_show)

        val data = ArrayList<SlideModel>()

        data.add(SlideModel(R.drawable.anime_wallpaper, "Yo Mum"))
        data.add(SlideModel(R.drawable.anime_wallpaper2, "My Dada"))
        data.add(SlideModel(R.drawable.anime_wallpaper3, "NOOOOOOOOO"))

        slideShow.setImageList(data, ScaleTypes.FIT)

        slideShow.setItemClickListener(object : ItemClickListener {
            override fun onItemSelected(position: Int) {

                val d = data[position]
                val title = d.title

                val i = Intent(this@SlideShowImageActivity, DetailSlideShowImageActivity::class.java)
                //title
                i.putExtra("title", title)

                startActivity(i)
                finish()
            }
        })

any solution ?

authors: achmadrizkin dioob

repo: denzcoskun/ImageSlideshow


text:
Point vets-api Dev environment at notification-api Staging environment

It would be useful for the VANotify team to have a Development environment that we can feel free to mess around with. Currently, the vets-api Development environment points at notification-api's Development environment, so any experimental changes to notification-api can break vets-api.
We should update the Development configuration of vets-api to point  at the Staging environment of notification-api.
We will require the API key and template ID created in #76, and the URL of the Staging fwdproxy.

verified it is working. I have attached the web page and email.  The cloudwatch log for staging was:
{"name": "app", "levelname": "INFO", "message": "email 1902f21d-3717-4274-8987-d53b483c4ed9 created at 2020-08-28 17:39:15.463747", "pathname": "/app/app/notifications/process_notifications.py", "lineno": 120, "time": "2020-08-28T17:39:15", "requestId": null, "application": "app", "logType": "application"}
152.133.18.44 - - [28/Aug/2020:17:39:15 +0000] "POST /v2/notifications/email HTTP/1.1" 201 1294 "-" "NOTIFY-API-RUBY-CLIENT/5.1.2"
vets api dev to notification api staging email.pdf
vets api dev to notification api staging web page.pdf
Which means the notification staging was used to send the email

authors: philherbert saman-moshafi-va


text:
Continous alerts for non-existing yarn.lock file

My issue is the same as https://github.com/dependabot/feedback/issues/901
I keep getting alerts for a lockfile that doesn't exist in the given project, specifically yarn.lock
Package manager/ecosystem
Javascript, NPM, not Yarn
Updated dependency
Various dependecies, some which also appear in package-lock.json and some which don't
What you expected to see, versus what you actually saw
I expect not to receive alerts for a non-existing lockfile. I do

@ViggoV there's probably an issue with dependency graph caching some old manifest, could you message github support specifying which repo it is? They'll be able to re-set the cache.
https://support.github.com/contact

authors: ViggoV feelepxyz

repo: dependabot/dependabot-core


text:
Upload a specific folder to remote server

I'm using laravel and docker in my git project. With the following directory structure:
- docker
-- <docker stuff>
- src
-- <laravel application>

I'm using deployer with the laravel recipe and want deployer to upload only the files in the src folder. How can i achieve this? The code in recipe/deploy/update_code moves all the files from the repository to the remote server:
 run("$git clone $at $recursive $quiet --reference {{previous_release}} $dissociate $repository  {{release_path}} 2>&1", $options);

Not sure if that would be possible, since the main idea is to clone repositories.
You can, however, write a custom task which removes your docker directory from your server.

@GlennM I suppose that could work in my case. Gonna implement this, tnx!

I am cleaning up on issues. Fill free to reopen if needed.
Also, we have a new section available: discussions.

authors: GlennM antonmedv sefaYavuz

repo: deployphp/deployer


text:
🛑 Derailed Home is down

In a028b1f, Derailed Home (https://derailed.one) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Derailed Home is back up in f73a590.

repo: derailed-org/derailed-oss-status


text:
Fix mouse cursor showing up all the time

Fixes cursor showing up when clicking.

yep, I have made the same fix on my server.
Sorry about that, my bad.

authors: Johnanater TarryPaloma


text:
Instead of seeing an empty string I see some random characters.

1. What version of Delve are you using (dlv version)?
○ → dlv version
Delve Debugger
Version: 1.0.0-rc.2
Build: 8f16b371d1eaa340b86a5b63303486ce5f5115c2

2. What version of Go are you using? (go version)?
○ → go version
go version go1.9.2 darwin/amd64

3. What operating system and processor architecture are you using?
○ → sw_vers
ProductName:	Mac OS X
ProductVersion:	10.13.1
BuildVersion:	17B48

○ → uname -a
Darwin keyone-mbp.local 17.2.0 Darwin Kernel Version 17.2.0: Fri Sep 29 18:27:05 PDT 2017; root:xnu-4570.20.62~3/RELEASE_X86_64 x86_64

4. What did you do?
Using Delve on a "Hello Delve!" program.
○ → cat src/p/delve/main.go
1:	package main
2:
3:	import "fmt"
4:
5:	func main() {
6:		msg := "Hello Delve!"
7:		fmt.Println(msg)
8:	}

○ → dlv debug src/p/delve/main.go
Type 'help' for list of commands.
(dlv) break main.go:6
Breakpoint 1 set at 0x10b26cf for main.main() ./src/p/delve/main.go:6
(dlv) step
> main.main() ./src/p/delve/main.go:6 (hits goroutine(1):1 total:1) (PC: 0x10b26cf)
     1:	package main
     2:
     3:	import "fmt"
     4:
     5:	func main() {
=>   6:		msg := "Hello Delve!"
     7:		fmt.Println(msg)
     8:	}
(dlv) print msg
"\x00\x00���\u007f\x00\x00��\x02\x01\x00\x00\x00\x00`@\x01 �\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00`@\x01 �\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...+16795021 more"
(dlv) step
> main.main() ./src/p/delve/main.go:7 (PC: 0x10b26e4)
     2:
     3:	import "fmt"
     4:
     5:	func main() {
     6:		msg := "Hello Delve!"
=>   7:		fmt.Println(msg)
     8:	}
(dlv) print msg
"Hello Delve!"
(dlv) quit

5. What did you expect to see?
When printing msg for the first time, I was expecting to see "".
6. What did you see instead?
I saw "\x00\x00���\u007f\x00\x00��\x02\x01\x00\x00\x00\x00@\x01 �\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00@\x01 �\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00...+16795021 more".

msg is declared and initialized before line 6 is executed so the variable you are trying to print at that point is not declared yet and random values are printed out. You can change it to var:
// print msg here results in garbage
var msg string
// print msg here is ""
msg = "Hello Delve!"
//print msg here is "Hello Delve!"
fmt.Println(msg)
// => "Hello Delve!"

Maybe delve should complain if msg is not declared yet, but that is a different issue.

authors: keyone rski

repo: derekparker/delve


text:
dlv: bugfix: Allow quoting in build flags argument

Allows quoted substrings in build-flags flag. This fixes a build
problem on windows where the default build flags must contain a space.
Fixes #634 and #638

This change is

Merging is blocked
Who can help?

Sorry for delay, reviewing now.

authors: aarzilli derekparker wildfire810


text:
missing crafts

when crafting with high crafting speed i noticed that the crafting results are starting to miss crafts (maybe also due to lag)
it recorded the results and saved items correctly but on the right side it missed 4 crafts which then skewed the avg profit!

This is a tough topic due to the crafting result event being complicated to track without lag already ^^
Ill take a look at this at some point again though


text:
Default Credentials

Cant find credentials. Was able to package it and run but can not login. Nice application btw

Thanks,
As in the DBUtility.java file you can see the credentials. It was defined as root for the user and admin for the password.

authors: derickfelix thisisleobro

repo: derickfelix/BankApplication


text:
audio in

hey is there a way to route audio to the m8 headless for sampling like the m8 itself can do?

Not currently in the application as it is. You should be able to set the output of whatever application you're using to generate the sound to the M8, or use some other audio routing utility for your OS (eg. if you're trying to use a physical input from an audio interface you have attached).
I think it might not be too hard to add an input device selector to the menu. I'll have to play around with it and see if I can come up with anything.

authors: derkyjadex interym


text:
Merge branch futures into master and release v3.0

The new asynchronous version is almost ready with improved test coverage of the individual flows etc.
Things missing:

Investigate usefulness of tests for Authenticator
Update README.md explaining various versions, add readme = statement to Cargo.toml
Write Authenticator example in lib.rs (fulfill TODO)
Add documentation to InstalledFlow, FlowDelegate, etc.
Create branch v2.0 in order to be able to keep releasing improvements to that version
Merge and push branch futures

This is now merged! \o/
I can't wait to rewrite it using async-await syntax, hehe


text:
Model @ 24kbps

Hello!
In the paper, there is a comparison between your proposed approach and EnCodec at 24kbps. I would like to ask:

Is this model available?
If not, do you have any plans of releasing it?

Thank you

Basically, there is not option to set the model_bitrate at 24kbps, since the authors have hardcoded the bitrates at 8 and 16kbps. Is it possible to modify any parameters when loading the model in order to achieve 24kbps compression?

repo: descriptinc/descript-audio-codec


text:
Jupyterlab 4 upgrade

This PR ports the extension to JupyterLab 4, updates dependencies to their latest version (except for the ones that are shared/constrained by JupyterLab itself, which are matched to https://github.com/jupyterlab/jupyterlab/blob/master/package.json)
Here's a screenshot of the extension working with jupyterlab==4.0.0a37. I tried changing the output truncation limits and everything seemed okay.

The only possible issue I saw was a few warnings in the browser console about something related to notebooklspadapter.ts, which I don't think is related.

Thanks for the input - the changes you asked for have been implemented. I'll rerequest review.

Thanks!

authors: mlucool peytondmurray

repo: deshaw/jupyterlab-limit-output


text:
How to uninstall hook ?

VK_INSERT is the key to toggle menu.
VK_END should be key to unhook/uninstall hook.
So my question is how the code looks like to Unhook the cheat, so i dont need to restart my game after building my solution everytime to test things ingame, ty.

Like this Picture from Osiris Base.

yea bro
https://github.com/designer1337/csgo-cheat-base/blob/master/core/main.cpp#L23


text:
definition errors

so this is probably easily solvable but for the life of me i cant figure it out these 2 issues
#include "../features.hpp"
i get an error on the "#" and it says "invalid macro definition: /std:c++latest"
i cant find where that is defined, help!
also, this part in the code:
//call it in createmove hook,after prediction.
legitbot::aimbot(cmd);
where is createmove hook? what does that mean? Im still a bit new. the "legitbot::aimbot(cmd);" is all red lined
thanks for the help!

you ll find it in project proprieties->somewhere in c++

where in c++? theres like 12 different tabs
On Tue, Aug 11, 2020 at 11:51 AM Marius notifications@github.com wrote:

you ll find it in project proprieties->somewhere in c++
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/designer1337/csgo-cheat-base/issues/75#issuecomment-672030918,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQFLP3J5MKIYZ5SIPEWDV5DSAFSHJANCNFSM4P2EO45A
.

where in c++? theres like 12 different tabs
…
On Tue, Aug 11, 2020 at 11:51 AM Marius @.***> wrote: you ll find it in project proprieties->somewhere in c++ — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#75 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQFLP3J5MKIYZ5SIPEWDV5DSAFSHJANCNFSM4P2EO45A .

c/c++->preprocessor->preprocessor definitions


text:
Fix/poll display 88

Description

fixes #88
Checklist

[x] Targeted PR against correct branch.
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Wrote unit tests.
[x] Run flutter format.
[ ] Updated the documentation.
[ ] Added an entry to the CHANGELOG.md file.
[x] Re-reviewed Files changed in the Github PR explorer.

Wasn't sure if i needed to update changelog

Wasn't sure if i needed to update changelog

I think we can add a line under the Bug Fixes category that reads:

Fixed a bug that causes a wrong visualization of a post details

I usually add a changelog entry only when I change something or fix a bug that was present on the previous public beta, and so external users can notice has been changed.

authors: RiccardoM ryuash

repo: desmos-labs/mooncake


text:
IndexOutOfBoundsException

java.lang.IndexOutOfBoundsException: Wrong offset: 30. Should be in range: [0, 23]
at com.intellij.openapi.editor.impl.LineSet.findLineIndex(LineSet.java:166)
at com.intellij.openapi.editor.impl.DocumentImpl.getLineNumber(DocumentImpl.java:1010)
at com.daniel_espinoza.inline_error.InlineError$.$anonfun$makeHighlightersInline$3(InlineError.scala:100)
at scala.collection.ArrayOps$.map$extension(ArrayOps.scala:929)
at com.daniel_espinoza.inline_error.InlineError$.makeHighlightersInline(InlineError.scala:100)
at com.daniel_espinoza.inline_error.listeners.HighlightErrorFilter.$anonfun$accept$1(HighlightErrorFilter.scala:36)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209)
at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21)
at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881)
at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:513)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:75)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:118)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:766)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)

I am getting that exact same error

I'm also getting this error.
Plugin Version: 0.3.0
OS: Windows 10
java.lang.IndexOutOfBoundsException: Wrong offset: 179. Should be in range: [0, 172] 	at com.intellij.openapi.editor.impl.LineSet.findLineIndex(LineSet.java:166) 	at com.intellij.openapi.editor.impl.DocumentImpl.getLineNumber(DocumentImpl.java:1010) 	at com.daniel_espinoza.inline_error.InlineError$.$anonfun$makeHighlightersInline$3(InlineError.scala:100) 	at scala.collection.ArrayOps$.map$extension(ArrayOps.scala:929) 	at com.daniel_espinoza.inline_error.InlineError$.makeHighlightersInline(InlineError.scala:100) 	at com.daniel_espinoza.inline_error.listeners.HighlightErrorFilter$$anon$1.$anonfun$run$2(HighlightErrorFilter.scala:23) 	at com.daniel_espinoza.inline_error.listeners.HighlightErrorFilter$$anon$1.$anonfun$run$2$adapted(HighlightErrorFilter.scala:23) 	at scala.collection.ArrayOps$.foreach$extension(ArrayOps.scala:1328) 	at com.daniel_espinoza.inline_error.listeners.HighlightErrorFilter$$anon$1.$anonfun$run$1(HighlightErrorFilter.scala:23) 	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209) 	at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21) 	at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191) 	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) 	at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:513) 	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:75) 	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:118) 	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:42) 	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318) 	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779) 	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730) 	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724) 	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) 	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86) 	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749) 	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:918) 	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:766) 	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:450) 	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:791) 	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:449) 	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105) 	at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:624) 	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:447) 	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:881) 	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493) 	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207) 	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) 	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) 	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) 	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) 	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)

Same error here
MacBook Pro 2022
MacOS 13.0.1
java.lang.IndexOutOfBoundsException: Wrong offset: 392. Should be in range: [0, 320]
	at com.intellij.openapi.editor.impl.LineSet.findLineIndex(LineSet.java:166)
	at com.intellij.openapi.editor.impl.DocumentImpl.getLineNumber(DocumentImpl.java:1015)
	at com.daniel_espinoza.inline_error.InlineError$.$anonfun$makeHighlightersInline$3(InlineError.scala:100)
	at scala.collection.ArrayOps$.map$extension(ArrayOps.scala:929)
	at com.daniel_espinoza.inline_error.InlineError$.makeHighlightersInline(InlineError.scala:100)
	at com.daniel_espinoza.inline_error.listeners.HighlightErrorFilter.$anonfun$accept$1(HighlightErrorFilter.scala:36)
	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209)
	at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21)
	at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:813)
	at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:429)
	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:74)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:114)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:36)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:909)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:756)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$5(IdeEventQueue.java:437)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:772)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:436)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
	at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:615)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:434)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:813)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:480)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)

Same error:
Plugin Version: 0.4.0
CLion Version: 2022.3.2 (#CL-223.8617.54)
OS: macOS Ventura 13.2.1
java.lang.IndexOutOfBoundsException: Wrong offset: 86. Should be in range: [0, 76]
	at com.intellij.openapi.editor.impl.LineSet.findLineIndex(LineSet.java:166)
	at com.intellij.openapi.editor.impl.DocumentImpl.getLineNumber(DocumentImpl.java:1015)
	at com.daniel_espinoza.inline_error.InlineError$.$anonfun$makeHighlightersInline$3(InlineError.scala:117)
	at scala.collection.ArrayOps$.map$extension(ArrayOps.scala:929)
	at com.daniel_espinoza.inline_error.InlineError$.makeHighlightersInline(InlineError.scala:117)
	at com.daniel_espinoza.inline_error.InlineError$$anon$1.$anonfun$run$2(InlineError.scala:36)
	at com.daniel_espinoza.inline_error.InlineError$$anon$1.$anonfun$run$2$adapted(InlineError.scala:36)
	at scala.collection.ArrayOps$.foreach$extension(ArrayOps.scala:1328)
	at com.daniel_espinoza.inline_error.InlineError$$anon$1.$anonfun$run$1(InlineError.scala:36)
	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209)
	at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21)
	at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:838)
	at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:454)
	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:74)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:114)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:36)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:909)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:756)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$5(IdeEventQueue.java:437)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:436)
	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
	at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:615)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:434)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:838)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:480)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)

+1, it happens when I create a breakpoint and try to edit it
Thanks!

+1, it happens when I create a breakpoint and try to edit it Thanks!

same here :-(

authors: Aurorxa Frank-Mayer I-am-mimic PKeidel james-wangx lno06 windowslucker1121


text:
Restructure build to add flexibility for detekt-gradle-plugin

WIP

Warnings

:warning:
It looks like this PR contains functional changes without a corresponding test.

  Generated by :no_entry_sign: dangerJS against cf581ec2d36e377517029e8c14a98d34aeeb6914

This PR is stale because it has been open 90 days with no activity. Please comment or this will be closed in 7 days.

This PR is stale because it has been open 90 days with no activity. Please comment or this will be closed in 7 days.

This PR is stale because it has been open 90 days with no activity. Please comment or this will be closed in 7 days.

This PR is stale because it has been open 90 days with no activity. Please comment or this will be closed in 7 days.

This PR is stale because it has been open 90 days with no activity. Please comment or this will be closed in 7 days.

repo: detekt/detekt


text:
Importing types, inputs, etc. using #import syntax

Hi ✋
I want to use this package server side, to split my schema definition into multiple files.
Is it possible to use #import for complete types, inputs, etc. ? Or is it only supposed to work with fragments?
Bar.graphql
type Bar {
  name: String!
}

typeDefs.graphql
#import "./Bar.graphql"

type Query {
  bar: Bar
}

schema {
  query: Query
}

schema.js
import typeDefs from "./typeDefs.graphql";

I got this error
Error: Type "Bar" not found in document.

@yvele Currently it's only meant to work with fragments. I borrowed the #import syntax from graphql-tag/loader which doesn't support server-side usage at all, so there's not really a precedent for using the #import syntax in that way. However, I'm not totally against the idea. Give me a day or two to think about it and I'll let know you something.

@detrohutt Cool thank you! That feature could be really useful for sharing types (generic types likepageInfos, or domain types) between sub schemas, in a GraphQL gateway fashion (using schema stitching). I'm impatient to hear back from you.

@yvele I've decided to go ahead and implement this feature. It's going to take a day or two because:

I have to write new tests to cover this functionality
It's going to involve some refactoring since the #import logic is tightly coupled with the non-schema file logic right now.

But I am working on it and will let you know as soon as I publish the new version!

@detrohutt thanks! I will check that out in 2-3 days.. And let you know

import was not working when having multiple #import statements in the same file.
Elements defined directly in this file were added multiple times ( one for each import )
I proposed PR #41 in order to fix this.

@gregorycuellar I just published babel-plugin-import-graphql@2.6.1 which contains your fix. Thanks again.

Great ! Thanks @detrohutt
I just noticed that there is still the problem for "level one" but I can't find where it comes from.
Maybe you have an idea ?
I will continue to search, and if I find I will push an other PR.

I found
I pushed PR #42 with fix + tests
Thanks @detrohutt

Awesome! I published v2.6.2.

@detrohutt
I'm having this problem with v2.7.0
In my index.js file I have, import * as typeDefs from './schema.graphql';
That file starts like this
# import Activity from "generated/prisma/prisma.graphql"
The compiled file just has the import, like this
var typeDefs = "# import Activity from \"generated/prisma/prisma.graphql\"\n...
instead of importing that as well.
Do you have any advice for importing inside the schema.graphql file?

authors: c316 detrohutt gregorycuellar yvele

repo: detrohutt/babel-plugin-import-graphql


text:
🛑 OKTicket is down

In ef6d46f, OKTicket (https://www.okticket.es) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OKTicket is back up in 0ed56de.

repo: dev-okticket/status


text:
🛑 OKTicket is down

In 9e67ced, OKTicket (https://www.okticket.es) was down:

HTTP code: 406
Response time: 346 ms

Resolved: OKTicket is back up in 50cf892 after 10 minutes.


text:
Setting os_security_users_allow has no effect

Setting the variable os_security_users_allow to change_user (or [change_user]) doesn't have any effect. The permissions of /bin/su are always set to 0750.
Here is the code block which uses this variable (from tasks/minimize_access.yml):
- name: change su-binary to only be accessible to user and group root
  file:
    dest: '/bin/su'
    owner: 'root'
    group: 'root'
    mode: '0750'
  when: os_security_users_allow != None

Apparently this task is executed when the variable is set to any value. I think the when-condition should be changed to  change_user not in os_security_users_allow. I am happy to submit a pull request, if this is approved.

I agree, there's something wrong here. I'll have to take a look.

Should be fixed in master now. Thanks to @szEvEz

repo: dev-sec/ansible-os-hardening


text:
The field 'loop' is supposed to be a string type...

Hi folks,
i am getting this error on a was-instance:
TASK [dev-sec.os-hardening : include_tasks] *******************************************************************************************
fatal: [ec2-xx-xx-xx-115.eu-central-1.compute.amazonaws.com]: FAILED! => {"failed": true, "reason": "The field 'loop' is supposed to be a string type, however the incoming data structure is a <class 'ansible.parsing.yaml.objects.AnsibleSequence'>\n\nThe error appears to have been in '/home/user/playbooks/roles/dev-sec.os-hardening/tasks/minimize_access.yml': line 3, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# Using a two-pass approach for checking directories in order to support symlinks.\n- include_tasks: find_files.yml\n  ^ here\n"}

This is the code-segment:
  1 ---
  2 # Using a two-pass approach for checking directories in order to support symlinks.
  3 - include_tasks: find_files.yml
  4   loop_control:
  5     loop_var: outer_item
  6   loop:
  7     - '/usr/local/sbin'
  8     - '/usr/local/bin'
  9     - '/usr/sbin'
 10     - '/usr/bin'
 11     - '/sbin'
 12     - '/bin'
 13     - '{{ os_env_extra_user_paths }}'

Any hint what is wrong here?
thanks.
Hartmut

Hey Hartmut,
what Ansible version are you running? This errors seems to indicate you're still running 2.4.0. (see: https://github.com/ansible/ansible/issues/38314)

I'm closing this for now as I think, its a problem with the version. Feel free to reopen!

Quick Work Around
For anyone stuck on a version of ansible less than 2.5, a good alternative to loop is with_items: https://docs.ansible.com/ansible/latest/plugins/lookup/items.html

authors: myersCody rndmh3ro snakelab


text:
Make success redirect optional

I want to use this library in a dialog, so I don't want to redirect anywhere.
I want to keep the same dialog open after sending the email.
As mentioned in
(https://github.com/sergiodxa/remix-auth/discussions/245
this should be possible.
Thank you.

We are open to PRs; the library development is currently on standby.
Please propose and showcase, and we may work on it, rather than requesting.
Thanks.

authors: dev-xo ttizze

repo: dev-xo/remix-auth-totp


text:
Vision/Detect Modes 5e causes increasing extreme movement lag based on the number of Tokens on a scene

Create scene with many walls (example attached).
Start with a single PC Token (even with only Hearing sense from Vision/Detection 5e)
Move token (moves normally with v11 performance)
Start adding tokens throughout map
Observe movement performance slowly start lagging, then suddenly proceed to extreme movement lag
Disable Vision/Detection 5e, Movement is smooth once again (with all tokens on map).

This is about the breakpoint where things get really noticeably laggy:

(noticeable before, but "bearable")
fvtt-Scene-sewers-1-(copy)-(copy)-Eei0JhqKFKhksBTX.zip

That are probably the many ray casting test that are performed by the hearing mode. Those aren't particularly fast. I assume if you override the hearing range to 0, there's no lag, right?

That are probably the many ray casting test that are performed by the hearing mode. Those aren't particularly fast. I assume if you override the hearing range to 0, there's no lag, right?

How/where would one override the hearing range? I'll happily test that.

Unless the hearing range is very large, 1.4.0 should fix this issue. Now the range is tested first, and second the walls for line-of-sight (line-of-hearing). This improves the performance substantially, because the expensive part (the LOS check) is not performed for tokens out of hearing range. This change also improves other detection modes that perform a ray casting check to test LOS.

Unless the hearing range is very large, 1.4.0 should fix this issue. Now the range is tested first, and second the walls for line-of-sight (line-of-hearing). This improves the performance substantially, because the expensive part (the LOS check) is not performed for tokens out of hearing range. This change also improves other detection modes that perform a ray casting check to test LOS.

Tested 1.4.0 with the example scene I posted here, it is fixed indeed!
Thanks for all your hard work on all these Modules, and now FoundryVTT core. Makes me feel real good about the performance and stability of the lighting engine of FoundryVTT going forward.


text:
Removing sections from config.toml has no effect

If I remove sections from the default config, such as [packages], I still get "Packages: ... " in the display output. The lack of a configured section would seem to be the way to remove a module, but it does not.

I figured it out, it's the module-order line that configures whether a module is display or not. Suggestion: add a 'display-order' property to each configured module's configuration section. The lack of a configuration section could simply remove the module from display.

repo: devanlooches/rocketfetch


text:
kubectl-helm-minikube feature fails to install in my codespaces

The kubectl-helm-minikube feature fails in my container. It seems to be a yarn gpg signature error.
Here's how I call it in my devcontainer.json:
"ghcr.io/devcontainers/features/kubectl-helm-minikube:latest": {
			"version": "latest"
		}

I am using the following docker image as a base:
FROM mcr.microsoft.com/devcontainers/dotnet:0-3.1
It seems to be running on Ubuntu:
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.5 LTS
Release:        20.04
Codename:       focal

Here's an output of my container build:
#26 [dev_containers_target_stage 12/25] COPY --chown=root:root --from=dev_containers_feature_content_source /tmp/build-features/kubectl-helm-minikube_6 /tmp/dev-container-features/kubectl-helm-minikube_6
#26 DONE 1.1s

#27 [dev_containers_target_stage 13/25] RUN chmod -R 0755 /tmp/dev-container-features/kubectl-helm-minikube_6 && cd /tmp/dev-container-features/kubectl-helm-minikube_6 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh
#27 1.377 ===========================================================================
#27 1.377 Feature       : Kubectl, Helm, and Minikube
#27 1.377 Description   : Installs latest version of kubectl, Helm, and optionally minikube. Auto-detects latest versions and installs needed dependencies.
#27 1.377 Id            : ghcr.io/devcontainers/features/kubectl-helm-minikube
#27 1.377 Version       : 1.1.4
#27 1.377 Documentation : https://github.com/devcontainers/features/tree/main/src/kubectl-helm-minikube
#27 1.377 Options       :
#27 1.377     VERSION="latest"
#27 1.377     HELM="latest"
#27 1.377     MINIKUBE="latest"
#27 1.377 ===========================================================================
#27 1.397 find: '/var/lib/apt/lists/*': No such file or directory
#27 1.398 Running apt-get update...
#27 1.468 Get:1 https://packages.microsoft.com/repos/azure-cli focal InRelease [3575 B]
#27 1.483 Get:2 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
#27 1.541 Get:3 https://packages.microsoft.com/repos/azure-cli focal/main all Packages [4106 B]
#27 1.550 Get:4 https://packages.microsoft.com/repos/azure-cli focal/main amd64 Packages [564 B]
#27 1.610 Err:2 https://dl.yarnpkg.com/debian stable InRelease
#27 1.610   The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
#27 1.995 Get:5 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]#27 2.075 Get:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
#27 2.095 Get:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
#27 2.202 Get:8 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]
#27 2.230 Get:9 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB]
#27 2.244 Get:10 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]
#27 2.389 Get:11 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1275 kB]
#27 2.411 Get:12 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [31.2 kB]
#27 2.414 Get:13 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [2277 kB]
#27 2.440 Get:14 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3111 kB]
#27 2.468 Get:15 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1329 kB]
#27 2.546 Get:16 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB]
#27 2.587 Get:17 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [28.6 kB]
#27 6.240 Get:18 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
#27 6.751 Get:19 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [2629 kB]
#27 13.29 Get:20 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1033 kB]
#27 14.53 Get:21 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [28.5 kB]
#27 14.55 Get:22 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [2139 kB]#27 20.36 Reading package lists...
#27 21.39 W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
#27 21.39 E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed.
#27 21.39 ERROR: Feature "Kubectl, Helm, and Minikube" (ghcr.io/devcontainers/features/kubectl-helm-minikube) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/kubectl-helm-minikube for help troubleshooting this error.
#27 ERROR: executor failed running [/bin/sh -c chmod -R 0755 /tmp/dev-container-features/kubectl-helm-minikube_6 && cd /tmp/dev-container-features/kubectl-helm-minikube_6 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh]: exit code: 100
------
 > [dev_containers_target_stage 13/25] RUN chmod -R 0755 /tmp/dev-container-features/kubectl-helm-minikube_6 && cd /tmp/dev-container-features/kubectl-helm-minikube_6 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh:
#27 2.587 Get:17 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [28.6 kB]
#27 6.240 Get:18 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
#27 6.751 Get:19 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [2629 kB]
#27 13.29 Get:20 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1033 kB]
#27 14.53 Get:21 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [28.5 kB]
#27 14.55 Get:22 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [2139 kB]

#27 21.39 W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
#27 21.39 E: The repository 'https://dl.yarnpkg.com/debian stable InRelease' is not signed.
#27 21.39 ERROR: Feature "Kubectl, Helm, and Minikube" (ghcr.io/devcontainers/features/kubectl-helm-minikube) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/kubectl-helm-minikube for help troubleshooting this error.
------
error: failed to solve: executor failed running [/bin/sh -c chmod -R 0755 /tmp/dev-container-features/kubectl-helm-minikube_6 && cd /tmp/dev-container-features/kubectl-helm-minikube_6 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh]: exit code: 100Stop: Run: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.37.0-1681911685[465](https://github.com/oliverlabs/azdevcont/actions/runs/4744023783/jobs/8424343274#step:4:466)/Dockerfile-with-features -t vsc-azdevcont-163ecb3852c7898f1345cb05d441b576057f682[480](https://github.com/oliverlabs/azdevcont/actions/runs/4744023783/jobs/8424343274#step:4:481)f9d767efb2ddbff3e0c26d --target dev_containers_target_stage --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp /var/lib/docker/codespacemount/workspace/azdevcont/.devcontainer
{"outcome":"error","message":"Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.37.0-1681911685465/Dockerfile-with-features -t vsc-azdevcont-163ecb3852c7898f1345cb05d441b576057f682480f9d767efb2ddbff3e0c26d --target dev_containers_target_stage --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp /var/lib/docker/codespacemount/workspace/azdevcont/.devcontainer","description":"An error occurred building the image."}
Error: Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.37.0-1681911685465/Dockerfile-with-features -t vsc-azdevcont-163ecb3852c7898f1345cb05d441b576057f682480f9d767efb2ddbff3e0c26d --target dev_containers_target_stage --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp /var/lib/docker/codespacemount/workspace/azdevcont/.devcontainer
    at _se (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:1917:1698)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async CD (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:1916:3889)
    at async K7 (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:1916:2808)
    at async Hse (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:1931:2626)
    at async Ch (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:1931:3741)
    at async cae (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:2059:17376)
    at async uae (/usr/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:2059:17117)
devcontainer process exited with exit code 1
Failed to create container.
Error: Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.37.0-1681911685465/Dockerfile-with-features -t vsc-azdevcont-163ecb3852c7898f1345cb05d441b576057f682480f9d767efb2ddbff3e0c26d --target dev_containers_target_stage --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp /var/lib/docker/codespacemount/workspace/azdevcont/.devcontainer
Error Code: 1302
Container creation failed.
Jobs failed, exiting the agent. Error Code: 1302
Error: Process completed with exit code 1.

@samruddhikhandale any help would be appreciated.

Hi 👋
The problem in this case is with the mcr.microsoft.com/devcontainers/dotnet:0-3.1 image, this image was deprecated in Dec 2022 and did not get an update since.
From https://github.com/devcontainers/images/issues/370, the yarn GPG key was expired, which caused apt issues for all the past images.
All the currently supported images were patched, @oliverlabs would it be possible to use the currently supported images instead? Else, you should be able to unblock with the workaround mentioned in https://github.com/devcontainers/images/issues/370#issuecomment-1402753345

Thanks so much for providing this info, @samruddhikhandale. Yes, I'll just change the base image to Ubuntu:jammy. Good shout. I am very impressed with the level of support :)

authors: oliverlabs samruddhikhandale

repo: devcontainers/features


text:
wget throws ERROR 403: Forbidden on mcr.microsoft.com/devcontainers/base:ubuntu-22.04

Issue
$ docker run --rm -it mcr.microsoft.com/devcontainers/base:ubuntu-22.04 wget https://anaconda.org/conda-forge/micromamba/1.5.3/download/linux-64/micromamba-1.5.3-0.tar.bz2
Unable to find image 'mcr.microsoft.com/devcontainers/base:ubuntu-22.04' locally
ubuntu-22.04: Pulling from devcontainers/base
c42c1a5016fb: Download complete
9e534fd0369d: Download complete
69977e465e2f: Download complete
2746dc99a42b: Download complete
2bef7035ef93: Download complete
ab0b4ad0d3e0: Download complete
a7cfccb9491f: Download complete
Digest: sha256:589ff4a08ed51c23f4a021f02769308054e9095a855644bdffa26d59b0380038
Status: Downloaded newer image for mcr.microsoft.com/devcontainers/base:ubuntu-22.04
--2023-11-18 18:25:06--  https://anaconda.org/conda-forge/micromamba/1.5.3/download/linux-64/micromamba-1.5.3-0.tar.bz2
Resolving anaconda.org (anaconda.org)... 104.17.16.67, 104.17.15.67, 2606:4700::6811:1043, ...
Connecting to anaconda.org (anaconda.org)|104.17.16.67|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://binstar-cio-packages-prod.s3.amazonaws.com/5ef2fca5fe6b2a019b74a98b/6553a9662eea042f73ba02ac?response-content-disposition=attachment%3B%20filename%3D%22linux-64%2Fmicromamba-1.5.3-0.tar.bz2%22%3B%20filename%2A%3DUTF-8%27%27linux-64%252Fmicromamba-1.5.3-0.tar.bz2&response-content-type=application%2Fx-tar&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAWUI46DZFI2ONXAVT%2F20231118%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231118T182506Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEHsaCXVzLWVhc3QtMSJHMEUCIQC%2F0dxEzaNrNjMwBGY6fwd5%2BjzP9ypn7%2BbFcGTdL1xpLQIgaA%2FPsbnWMVvMo%2BQOkix%2BnhzD7pIr2VCwZkVvJCrGKdIqhwUIw%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAAGgw0NTU4NjQwOTgzNzgiDDw%2B8IdQqlOQPsY6CyrbBFiCFdCBuAI7mcQ0mNRHkQrm9zOP%2BhnFJaEf5WBT00%2FiE7gjdcsExuyV8cNdggGxSTHNefrl8LVr6E7qihKU%2F78s8tknkrJreWqqUhq5b1m%2FrbmfPYxdVh0dzb5dxo61vgq%2Be6tIL8YJVRRXQYBWu7t5NB1bdKSVqDAW4E3X6b2JlNQjsO9lVE%2FzrRlsnJWswksusjT0%2FTEzQ7nrOw%2BNDl1dGZqWuVPgGjtbF3a0Y1cFHkYREbSKBbfZ1ontcHLU5fxhipO2U%2Bk6KqvWHz4aATVI3qaFLejEVl38c3Xna6Lwb6beRE9qgqnv%2FooDAXKX2sCGtS84x3io2K7QGJFel52rHNUECPXX02BkTB7hr4pGk%2BKwaYpCTZIpaHpm1ka60O5PA42AaGPj6BDg3Y0SbYHJujzG79HhbrOvkCIkTjOyXM32BXcAUeKu%2BNGz%2FPA8nz%2FfyDcS%2F0oVjbj4HcIr2R6wR6y6gWki2HKrgpRCGtTi6gq1elOA4eMbOzGKVis3P%2FD3p1B%2Fx%2B3AHbnF412nO50iC2wpgqFxme0y7IHWK6dwBuKUjf8zMKnVCUtE7ilJanvngi9rJsGrfKOzDf703qaajW8nVTYUdNgrYrONuUWXP3BbIdnquaUyQMpqo5V6HP9eNY1%2FtRCvYNbg%2F1W66cEw78t5uKcbsgXDV3eHl30DehRgVrurkDxONTH%2BK07U3AR%2BQAOI66BcfonTC2T0P6bQwZOH4AeY5czxyDAXsvLi4iCvwGS2d6D3Gw%2BK337U0VmojUFY%2FyQNeCqBffkvJCtEOpAdkMeu9LgOGzCCgeSqBjqaASllIeyYyaKLjFwzawrH2P0AH2LfTrtTC1IQGuFp5dwYEKFk1aiS%2FS77SUFvgi1kT%2Fy%2BpSiWeeU3QXfRPdTG4FP3r7fTfYqwg7TgQczaxNao6K3hxRPpIvu5ltgVhSAcCb70%2BHGXoM8MID2ES6KF1YR79C7u%2B1R16M6GivlmFCYrzP2VtovbyDs7wTf0pRjxZTAoluzVCiSiwyY%3D&X-Amz-Signature=fa7686ae3f84eaddbd787340cf82b4ee4d2a3059e4f86f0581334a7360d5356f [following]
--2023-11-18 18:25:06--  https://binstar-cio-packages-prod.s3.amazonaws.com/5ef2fca5fe6b2a019b74a98b/6553a9662eea042f73ba02ac?response-content-disposition=attachment%3B%20filename%3D%22linux-64%2Fmicromamba-1.5.3-0.tar.bz2%22%3B%20filename*%3DUTF-8''linux-64%2Fmicromamba-1.5.3-0.tar.bz2&response-content-type=application%2Fx-tar&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=ASIAWUI46DZFI2ONXAVT%2F20231118%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20231118T182506Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEHsaCXVzLWVhc3QtMSJHMEUCIQC%2F0dxEzaNrNjMwBGY6fwd5%2BjzP9ypn7%2BbFcGTdL1xpLQIgaA%2FPsbnWMVvMo%2BQOkix%2BnhzD7pIr2VCwZkVvJCrGKdIqhwUIw%2F%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARAAGgw0NTU4NjQwOTgzNzgiDDw%2B8IdQqlOQPsY6CyrbBFiCFdCBuAI7mcQ0mNRHkQrm9zOP%2BhnFJaEf5WBT00%2FiE7gjdcsExuyV8cNdggGxSTHNefrl8LVr6E7qihKU%2F78s8tknkrJreWqqUhq5b1m%2FrbmfPYxdVh0dzb5dxo61vgq%2Be6tIL8YJVRRXQYBWu7t5NB1bdKSVqDAW4E3X6b2JlNQjsO9lVE%2FzrRlsnJWswksusjT0%2FTEzQ7nrOw%2BNDl1dGZqWuVPgGjtbF3a0Y1cFHkYREbSKBbfZ1ontcHLU5fxhipO2U%2Bk6KqvWHz4aATVI3qaFLejEVl38c3Xna6Lwb6beRE9qgqnv%2FooDAXKX2sCGtS84x3io2K7QGJFel52rHNUECPXX02BkTB7hr4pGk%2BKwaYpCTZIpaHpm1ka60O5PA42AaGPj6BDg3Y0SbYHJujzG79HhbrOvkCIkTjOyXM32BXcAUeKu%2BNGz%2FPA8nz%2FfyDcS%2F0oVjbj4HcIr2R6wR6y6gWki2HKrgpRCGtTi6gq1elOA4eMbOzGKVis3P%2FD3p1B%2Fx%2B3AHbnF412nO50iC2wpgqFxme0y7IHWK6dwBuKUjf8zMKnVCUtE7ilJanvngi9rJsGrfKOzDf703qaajW8nVTYUdNgrYrONuUWXP3BbIdnquaUyQMpqo5V6HP9eNY1%2FtRCvYNbg%2F1W66cEw78t5uKcbsgXDV3eHl30DehRgVrurkDxONTH%2BK07U3AR%2BQAOI66BcfonTC2T0P6bQwZOH4AeY5czxyDAXsvLi4iCvwGS2d6D3Gw%2BK337U0VmojUFY%2FyQNeCqBffkvJCtEOpAdkMeu9LgOGzCCgeSqBjqaASllIeyYyaKLjFwzawrH2P0AH2LfTrtTC1IQGuFp5dwYEKFk1aiS%2FS77SUFvgi1kT%2Fy%2BpSiWeeU3QXfRPdTG4FP3r7fTfYqwg7TgQczaxNao6K3hxRPpIvu5ltgVhSAcCb70%2BHGXoM8MID2ES6KF1YR79C7u%2B1R16M6GivlmFCYrzP2VtovbyDs7wTf0pRjxZTAoluzVCiSiwyY%3D&X-Amz-Signature=fa7686ae3f84eaddbd787340cf82b4ee4d2a3059e4f86f0581334a7360d5356f
Resolving binstar-cio-packages-prod.s3.amazonaws.com (binstar-cio-packages-prod.s3.amazonaws.com)... 16.182.108.169, 16.182.38.25, 16.182.37.73, ...
Connecting to binstar-cio-packages-prod.s3.amazonaws.com (binstar-cio-packages-prod.s3.amazonaws.com)|16.182.108.169|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2023-11-18 18:25:06 ERROR 403: Forbidden.

Expected
PS:

It worked like this some days/weeks ago.
Changing from wget to curl in the ubuntu one works too (which is also odd)

$ docker run --rm -it alpine wget https://anaconda.org/conda-forge/micromamba/1.5.3/download/linux-64/micromamba-1.5.3-0.tar.bz2
Unable to find image 'alpine:latest' locally
latest: Pulling from library/alpine
96526aa774ef: Download complete
Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978
Status: Downloaded newer image for alpine:latest
Connecting to anaconda.org (104.17.15.67:443)
Connecting to binstar-cio-packages-prod.s3.amazonaws.com (52.217.200.193:443)
saving to 'micromamba-1.5.3-0.tar.bz2'
micromamba-1.5.3-0.t 100% |*********************************************************************************************************************************************************************************| 5226k  0:00:00 ETA
'micromamba-1.5.3-0.tar.bz2' saved

Hello! 👋
I don't think it's an issue with the mcr.microsoft.com/devcontainers/base:ubuntu-22.04 image, as the 403s occur even with other images👇
docker run --rm -it buildpack-deps:jammy-curl wget https://anaconda.org/conda-forge/micromamba/1.5.3/download/linux-64/micromamba-1.5.3-0.tar.bz2

docker run --rm -it ubuntu bash -c "apt-get update && apt-get install -y wget && wget https://anaconda.org/conda-forge/micromamba/1.5.3/download/linux-64/micromamba-1.5.3-0.tar.bz2"

Cam you open an issue with anaconda instead? I wonder if this an issue with the site which hosts `micromamba.

Feel free to reopen this issue with any other follow up questions/thoughts. Thank you!

Hi, just wanted to mention that I had the exact same error today on the almalinux:8.7-20230407 image running in an Azure Devops pipeline. The exact same command runs fine on my local Ubuntu machine though. As @lucasfcnunes mentioned, switching to curl fixed it. Really odd

authors: lucasfcnunes samruddhikhandale sphuber

repo: devcontainers/images


text:
Ability to add custom HTTP headers

Adds ability to send custom headers in requests for both POST and PATCH
requests. This would allow the library, for example, to disable
assignment rules when creating or updating a case.

@dcarroll , @wadewegner : Let me know if you find any issues with this. I've tested it against a case object that had a assignment rule, and PATCH methods are bypassing rules when sending a header now. If you'd like me to add some unit tests in there, I'm happy to do so.
Thanks again!
N

@dcarroll, @wadewegner : Just checking in on this. Do you think you should be able to merge?
Thanks!
N

I'm wondering why this pull request and others haven't been merged in... Seems like a reasonable addition.

authors: nmonasterio pdandrea


text:
Add support for webp images

Adds support for webp images.

Just a note: after #674, we'll should be auto generating webP and redirecting jpg to webP auto matically

authors: developit prateekbh

repo: developit/preact-cli


text:
Only run propType checks on createElement & cloneElement not on every render.

This is a good start towards getting perf up. I'm still having some issues on startup when tons of elements are created, but it is much better than before.
#348

All the tests pass, but there are missing tests for children as function. I tried to get this covered, but the tests would run as expected in the browser but not in phantom. The proptype checking for children as a function (I think any "single child" case) is proving to be difficult.

The good news is that even with this issue the performance difference is remarkable.

Before (pink is proptype checks)

After (Red frames due to error throwing)

Looking good - will test this out locally and see if I can make a children as function test work.

Rebased after #359 landed.
This was a crazy rebase so I might have messed it up (commit order). Let me know if I need to change or update anything.

Odd that it's still noting merge conflicts in GH's UI

I will close this PR and and redo it.

New PR opened on #370

repo: developit/preact-compat


text:
Band names in expression are now lower case only

?expression=sqrt(B1)
used to work but in current titiler version expression needs to be
?expression=sqrt(b1)
This is not really a problem, but the examples in the doc use uppercase B.

For example, in every QueryParams section here:
https://github.com/developmentseed/titiler/blob/main/docs/src/endpoints/cog.md

fixed in https://github.com/developmentseed/titiler/commit/9dc9d6b978053a32e8455e5e7c55388edb91070b 🙏

authors: glaroc vincentsarago

repo: developmentseed/titiler


text:
Discord.py remplacement

Discord.py is now unmaintened we need an alternative.
Discord Team list of officially vetted libraries
PS: orca, rust libs, nim libs, js libs, php libs are a non-go.

We could temporarily use nextcord instead : https://github.com/nextcord/nextcord
It’s a maintained fork of discord.py

There is also pycord

Closed by 240d36498e12115470f372a30e186b5b7df7999f


text:
Add option to specify clone options

Description
Today, starting a workspace with for example https://github.com/che-incubator/che-code is taking a long time
But if I'm interested only in the current main branch, then I could have a way to specify the depth (history of commits) I want
For example, in github actions https://github.com/actions/checkout I have
    # Number of commits to fetch. 0 indicates all history for all branches and tags.
    # Default: 1
    fetch-depth: ''

so I would like to be able to specify the depth
Additional context

One option could be to fetch only one commit of history at clone time and fetch all the history once the workspace has been started (lazy mode to fetch full history)

This seems like something that would be useful to have somewhere in the devfile/api spec itself rather than as a DWO-only feature.

I could also see value in being able to specify a sparseCheckoutDir or workingDir or regexPathExcludes or regexPathIncludes so that the resulting cloned project can exclude paths not needed in the clone.
For example, https://github.com/crw-samples/jboss-eap-quickstarts/blob/devfilev2/devfile.yaml will clone the whole project but only one folder, https://github.com/crw-samples/jboss-eap-quickstarts/tree/devfilev2/kitchensink-jsp is referred by the devfile.
Similarly https://github.com/crw-samples/quarkus-quickstarts/tree/devfilev2 has a devfile which uses only the https://github.com/crw-samples/quarkus-quickstarts/tree/devfilev2/getting-started folder, which is 2M instead of 20M.

To update this issue for (now) 2024: DWO has the following features built in:

Sparse checkouts are supported by the operator via the sparseCheckout attribute on projects [doc]
In addition, for starter projects we support the subDir field, which first clones a whole project and then saves only a subdirectory of that project (which would be useful for the sample mentioned by Nick above

Both of the above features were added in https://github.com/devfile/devworkspace-operator/pull/1130 and are a part of DWO v0.22 and onward.
I'm closing this issue as I don't believe we have any intention of implementing shallow clones in DWO; in general, while shallow cloning is useful in CI builds, it's not recommended for most development flows and would likely cause more issues than it resolves.
If we want to consider enabling partial clones (e.g. a blobless clone), we should open a separate issue.

authors: amisevsk benoitf nickboldt

repo: devfile/devworkspace-operator