text:
Install failure

I tried to download and install the current version of the platform on my Mac running OS X 10.10.3.  I put the downloaded application into the application folder and adjusted my path appropriately in my .tcsh file.  I also installed the command line tools.
However, the status window still reports three errors:

not using bash (I don't want to use bash and I shouldn't have to)
ghc is not in my path (but it is: if I start a shell and ash for ghc it finds it no problem)
command line tools not installed (I'm pretty sure they are, but if I click the associated link nothing happens)

If I go to a command line, I can run ghc and things seem okay, but when I try to cabal install anything I get weird dependency errors.
Suggestions for how to fix things?  Also, this install is supposed to be dead easy.  I think the older installers worked better.

Two shells are currently supported: bash and zsh. You certainly don't need to use either of these shells to use GHC, but the helper app's ability to help you modify your startup scripts is limited to these two shells. I'd be happy to accept a contribution to support tcsh, I haven't used it in well over a decade so I'm not so qualified to write the appropriate support myself. Here are the relevant files to modify:

https://github.com/ghcformacosx/ghc-dot-app/blob/master/GHC/GHC/read_environment.sh
https://github.com/ghcformacosx/ghc-dot-app/blob/master/GHC/GHC/html/main.jsx#L60-L72
https://github.com/ghcformacosx/ghc-dot-app/blob/master/GHC/GHC/html/main.jsx#L104-L179
https://github.com/ghcformacosx/ghc-dot-app/blob/master/GHC/GHC/GHCAppDelegate.m#L237-L239

Not sure what the problem with detecting command-line tools is (might be that tcsh has a problem with executing echo "xcode: $(xcode-select -p 2>/dev/null)", or perhaps you somehow do not have Xcode or the command line tools installed), but it should pop up a dialog. All that button does is run xcode-select --install.
As for your cabal problems, I can't really help you without actual error messages ("weird dependency errors" doesn't really mean anything to me). The generic solution to cabal hell is to wipe out ~/.ghc and ~/.cabal and then try again.

Closing this due to inactivity, can't do anything about it without more detail.

authors: athleens etrepum

repo: ghcformacosx/ghc-dot-app


text:
Clear topics when needed

Assume that the database and topics are empty at the beginning (since we are using test containers).
Clear the Kafka topics after all tests that publish events.

Pull Request Test Coverage Report for Build 10280433963
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 90.234%

Totals

Change from base Build 10279935885:
0.0%

Covered Lines:
462

Relevant Lines:
512

💛  - Coveralls

source: gharchive/pull-request

authors: Cito coveralls

repo: ghga-de/mass

license_type: permissive

license_source: github-api


text:
Template Update

Decided to factor out some basic changes affecting both of the branches I was working on.
This PR includes:

template updates
version bumps
pydantic changes, i.e. json() -> model_dump_json(), etc.
updates to reset_fixture, i.e. kafka.clean_topics() and added scope="module" to edge case tests

I can add that now, but that's already part of one of the coming PR's building on top of it

repo: ghga-de/upload-controller-service


text:
Using the pen plugin without the codemirror plugin makes the result panel disappear on focus

Thanks a lot for this amazing tool!
I'm experiencing a strange issue with the pen plugin. You can try it yourself on the demo page of the plugin. It works fine in the example provided, but if you remove the plugin codemirror from the array list (i.e. to only have textareas, not a code editor), then clicking on any of the code textareas causes the result panel (on top) to disappear, and all the code panels shift up.
Issue happens consistently on Chrome, Firefox and IE, and also outside of the demo environment. The pen plugin doesn't seem to have any dependency on the codemirror plugin, I've had a look but was not able to fix it myself. It doesn't happen with the bin plugin.

Thanks for reporting the bug! 🍺
Fixed in the latest version 1.5.2.

source: gharchive/issue

authors: ghinda victorloux

repo: ghinda/jotted

license: mit

license_source: bigquery


text:
Cannot close modal by  MicroModal.close(modal.id);

cannot close or open modal by using Micromodal module in React
MicroModal.close(modal.id);

Same problem:
Uncaught TypeError: Cannot read property 'closeModal' of null
    at Object.close (micromodal.js:343)

Workaround if you use jQuery:
$('#modal-1').removeClass('is-open');

Workaround if you use jQuery:
$('#modal-1').removeClass('is-open');

modal-1 is your modal ID.

This does not change aria-hidden to true so may cause accessibility issues. @djonatanb solution with using show() works ;)

Fixed in #113

onShow: () => {
setTimeout(function () {
$('[data-micromodal-close]').trigger('click');
}, 5000)
}

authors: VitaliiThir donbot-inc ghosh kgoedecke srikanthcx vonPiernik

repo: ghosh/Micromodal

license: MIT


text:
It's not work with vite@5.3.1

I am using the default options, there is no error when running pnpm build, but the output is not obfuscated at all

I am using the default options, there is no error when running pnpm build, but the output is not obfuscated at all

Try it with https://www.npmjs.com/package/vite-plugin-bundle-obfuscator

repo: ghostdevv/rollup-obfuscator


text:
Add update config script to update projects

What this PR does / why we need it

Things to check/remember before submitting

If you made content changes

Run make lint dev to render and proofread content changes locally.
Bump last_review_date in the front matter header if you reviewed the entire page.

I have to fix some broken links (since I remove old CRDs) I may keep them though

We need to make sure this file conains all the CRD references

repo: giantswarm/docs


text:
fix changelog, add 0.9.2

Towards giantswarm/giantswarm#14369
This PR adds a changelog entry for 0.9.2 and fixes some links

Adding the v back in to the version is not strictly required. On future updates the release automation will probably keep striping the v from the version title, when replacing "Unreleased".

Ah yes good catch.

Adding the v back in to the version is not strictly required. On future updates the release automation will probably keep striping the v from the version title, when replacing "Unreleased".

Ah yes good catch.

repo: giantswarm/kong-app


text:
Create Loki base for AWS installations

Towards https://github.com/giantswarm/roadmap/issues/2554
Trying to deploy Loki with MCB + GMC.
Should be deployed with https://github.com/giantswarm/giantswarm-management-clusters/pull/75

Blocked: seems we can't template the bases here, so it means we would need to override a few values installation-per-installation. Which we would like to avoid.
Let's keep it the classic way via config repo then, for the moment.

As we are not going to use this anytime soon. Can we close the PR ? We have it referenced in issues in case we want/need to come back later to it.

authors: TheoBrigitte hervenicol

repo: giantswarm/management-cluster-bases


text:
New releases not being distributed on all installations

Acceptance criteria:

[ ] Investigate why new releases are not being distributed on all installations

Slack Thread which explains why it's currently not applying releases in MC's

Related threads:

https://gigantic.slack.com/archives/C07KSM2E51A/p1727788515429729
https://gigantic.slack.com/archives/CLPMFRVU6/p1727788936150309?thread_ts=1727788228.473829&cid=CLPMFRVU6

Couple things going on here:

At least on enigma some / all of the Release CRs were applied manually and are thus missing the required labels so the App is failing to install or upgrade. We need to manually clean this up but we should create an alert for this first so that we can catch this in advance in the future.
We are using the git commit sha as the App version instead of actual semver versions. Because of this, the "latest" version is being incorrectly worked out as the highest alphabetical sha version instead of the latest published. This means if a sha is alphabetically lower than the previous release's sha it wont be deployed to ANY MC.

I just manually bumped the release-capa app version in the capa-app-collection so the latest CAPA Release CRs get deployed to CAPA MCs: https://github.com/giantswarm/capa-app-collection/commit/260deaa286bc18f4badd31094a2d15de148143b5

Releases are now deployed via GitOps on CAPI MCs. See the following PRs for details:

https://github.com/giantswarm/management-cluster-bases/pull/162: This deploys the releases repository as GitRepository to every cluster and adds a generic way to easily include provider releases in MC configurations.
https://github.com/giantswarm/management-cluster-bases/pull/163: This PR by default includes one MC's provider releases in its configuration. This Kustomization is already being included everywhere in <provider>-management-clusters, so it simply deploys the provider specific releases Kustomization to every MC.
https://github.com/giantswarm/management-cluster-bases/pull/164: Here I enabled pruning for the collection Kustomization as a preparation for removing the releases-<provider> app from app collections.
https://github.com/giantswarm/releases/pull/1473: Here I add the helm.sh/resource-policy: keep annotation to Release CRs so they stay around once the releases-<provider> app gets removed from an MC.
Afterwards I removed the releases-<provider> apps from app collections:

https://github.com/giantswarm/capa-app-collection/commit/f7c9f34e78a14b9332205d22edfa1b8d555b7f23
https://github.com/giantswarm/capz-app-collection/commit/d248e83433c3f5d9961a1f466e4fd7a1f6bc0099
https://github.com/giantswarm/vsphere-app-collection/commit/96f72ca4de8836417335af117ca48fe28fe18320

At this point the releases-<provider> apps got removed from MCs. I already checked them and verified Release CRs are still around and managed by Flux. ✅

Now we only need to remove the helm.sh/resource-policy: keep annotation again with this PR https://github.com/giantswarm/releases/pull/1477 and enable pruning for the releases-<provider> Kustomizations so archived Release CRs are getting removed from MCs in this PR https://github.com/giantswarm/management-cluster-bases/pull/165.

And with this little PR I also updated mc-bootstrap: https://github.com/giantswarm/mc-bootstrap/pull/1055

authors: AverageMarcus Gacko njuettner yulianedyalkova

repo: giantswarm/roadmap


text:
My feature branch

Reorganized the content folders.

Closing since I don't understand the need for reorganization
Feel free to reopen and elaborate

repo: gilbitron/Raneto


text:
ingress - path make variable

Please make the path variable
https://github.com/gimlet-io/onechart/blob/master/charts/onechart/templates/ingress.yaml#L42

Thx a lot 😉
On Tue, 18 Jan 2022, 17:20 Laszlo Fogas @.***> wrote:

Sure thing, let me do it tomorrow morning
—
Reply to this email directly, view it on GitHub
https://github.com/gimlet-io/onechart/issues/36#issuecomment-1015575391,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAY5EOARZ4XW7S2BAR4NUPLUWWHNNANCNFSM5MHS2BMQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

https://github.com/gimlet-io/onechart/releases/tag/v0.33.0 has the change

authors: laszlocph marinkobabic

repo: gimlet-io/onechart


text:
Support OMF format object files.

While OMF is an older format, support for it would allow downstream tools such as https://github.com/encounter/objdiff to be used when researching the output of older tool chains such as watcom and borland.

I don't have any experience with OMF but it seems appropriate to add support here. The linked objdiff issue contains info that will be helpful to whoever wants to implement this.

authors: OmniBlade philipc

repo: gimli-rs/object


text:
unsupported traitselector causes monitor update to stall

If monitor with unsupported traitselector is injected, the monitor update stalls.
see:
16/08/22 14:49:06 ERROR Executor: Exception in task 34.1 in stage 1.0 (TID 54)
java.lang.RuntimeException: traitSelector from [OccurrenceSelector(Aves|Mammalia,POLYGON ((-122.78320312499999 37.13404537126446, -122.78320312499999 38.1777509666256, -121.75048828124999 38.1777509666256, -121.75048828124999 37.13404537126446, -122.78320312499999 37.13404537126446)),bodyMass < 50 g,Some(15463102))] failed to parse: [[1.15] failure: string matching regex `(datetime|string)' expected but `g' found

bodyMass < 50 g
              ^.msg]
	at scala.sys.package$.error(package.scala:27)
	at OccurrenceSelectors$.traitSelector(OccurrenceSelectors.scala:25)

@jhammock this is the reason why the neon triggered monitor still hasn't completed. Looking into better ways to avoid invalid monitors.

Fixed by making traitselector parser more lenient. Instead of blowing up, the resulting traitselector never selects any data and the spark job logs a message indicating of the unsupported traitselector.

repo: gimmefreshdata/freshdata


text:
Esphome node doesn't respond after plugging in to AC

Hi,
Weird problem. If I only feed the node with 12v through the buck converter, the node is responsive but doesn't of course show any meaningful data except for the wifi stuff. When I connect it to the AC, no data comes through even from the wifi stuff. I can still see from my router that the node is connected to wifi and I can flash it over the air.
Any ideas? I've checked the SPI wiring about 25 times now.

Stil have no idea what caused this originally but I flashed the new version yesterday and it works now!

repo: ginkage/MHI-AC-Ctrl-ESPHome


text:
Modification d'username (.pro et .co)

Modification de l'username :

account ID : 870d4d8a-e6ba-4898-8c23-f74ca49e60d6 de peuch.celine@..fr en peuch.celine.co
account ID : 8beb9323-d84d-48a2-b81e-76c112ca7d29 de peuch.celine en peuch.celine.pro

En lien avec #2039 pour éviter d'avoir à traiter de nouvelles demandes en ce sens (PI, l'Aveyron est en train de recruter des agents qui auront besoin de plusieurs profils)
Prévenir Aurélie quand c'est ok (support crisp)

C'est fait.

authors: chdechamps vjousse

repo: gip-inclusion/carnet-de-bord


text:
feat: ajout du diagnostic professionnel

:wrench: Problème
En tant que chargé d'orientation / professionnel, j'ai besoin de consulter et mettre à jour le diagnostic socioprofessionnel afin d'appréhender la réalité de la situation du bénéficiaire et d'adapter mon accompagnement.
:cake: Solution
On migre le bloc socioprofessionnel et on ajoute le bloc projet professionnel (metier recherché + zone de mobilité)
:rotating_light:  Points d'attention / Remarques
:desert_island: Comment tester
Se connecter en tant que pierre.chevalier
Aller sur le carnet de sophie tifour
Voir le bloc Dianostique socioprofessionnel
fix #1460
Voir la review app

Dans le formulaire "Mettre à jour le diag" c'est un peu perturbant que les informations ne soient pas regroupées par bloc comme c’est le cas pour l’affichage du diagnostic (situation pro, projet pro).
Ce serait mieux d’afficher le formulaire comme ci-dessous :
Situation professionnelle

Situation actuelle
Depuis le
Jusqu’au
Dispose d’une RQTH
Diplôme

Projet professionnel

Emplois recherchés
Zone de mobilité

Droits

Revenu de solidarité active
Autres aides

authors: JonathanRaimond lionelB


text:
feat: Gestion des RDV des bénéficiaires par l'administrateur de structure

:wrench: Problème
En tant que gestionnaire de structure, en particulier lorsque j'ai un profil de secrétariat, j'ai besoin de pouvoir modifier certaines informations suite à une action de ma part (vérification manuelle, convocation, ....) ou un contact avec l'usager et je dois notamment pourvoir saisir un rendez-vous et actualiser l'état de présence pour un professionnel de ma structure.
Fixes #1766
:cake: Solution
On réutilise le composant d'édition des RDV des professionnels pour les admins de structure.
:desert_island: Comment tester
Se connecter avec un compte « Admin de structure », jacques.celaire par exemple. Cliquer sur « Centre Communal d'action social Livry-Gargan », puis sur « 1 Bénéficiaire accompagné », puis sur « Voir le carnet » de Sophie Tifour. S'assurer que la gestion des RDV est bien ce qui est attendu.

:tada: This PR is included in version 1.227.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: service-dev-gip-inclusion vjousse


text:
Server Config File

i want to create a server inside docker but the server is not loading the toml config
Here my Compose File
version: '2.4' # uses '2.4' for cpuset

services:
    homeserver:
        image: ghcr.io/girlbossceo/conduwuit:latest
        restart: unless-stopped
        ports:
            - 6167:6167
        volumes:
            - ./db:/var/lib/matrix-conduit
            - ./config:/etc/conduwuit/
        environment:
            CONDUIT_CONFIG: ./conduwuit.toml
        cpuset: "0-2"

    cinny:
        image: ghcr.io/cinnyapp/cinny:latest
        container_name: cinny
        restart: unless-stopped
        ports:
          - 8182:80

volumes:
    db:

Actually, that's how it's supposed to work, isn't it? I don't have to enter all the environment things when I load a config, right?

got it fixed

repo: girlbossceo/conduwuit


text:
Constructor and destructor in c++

Description 📜
in this I explain about Constructors and Destructors in c++
Fixes #858

Type of change 📝

[x ] Documentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x ] C/CPP

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x ] I have performed a self-review of my own code or work.
[x ] I have commented my code, particularly in hard-to-understand areas.
[ x] My changes generates no new warnings.
[ x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@roopali-1  always make prs to the cpp branch and not main... (I fixed it this time)

@roopali-1  Everything is perfect... remove  Python/What_is_python_interpreter/python_interpreter.md file
And I can merge

Okk sir i will make sure this next time
On Tue, 21 Sep 2021, 1:07 pm Suvraneel Bhuin, @.***>
wrote:

@roopali-1 https://github.com/roopali-1 always make prs to the cpp
branch and not main... (I fixed it this time)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/girlscript/winter-of-contributing/pull/1163#issuecomment-923719991,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ARUNII2LIT5EODTO2Q2IKNLUDAY5FANCNFSM5ELJ5C5A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@Suvraneel sir what i have to remove i am not getting that ... can you please elaborate???? I have to remove the md file ..?? Or what ???

@roopali-1 The Python file is not required in this PR as it is from a different domain, so just remove that and its ready to merge. If you want to contribute to multiple domains, you should create multiple branches so that the work of different domains stay separated.

@Saviour1001 yes sir I deleted that python file ... now it is all ok ?

repo: girlscript/winter-of-contributing


text:
Java

Description 📜
I have added detailed information on Java Exception Types along with sufficient example.
Fixes # 2870

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations, and regular explanatory films are all possibilities, etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[ ] C/#CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[x] Java_Domain
[ ] Java#Script
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[ ] I have performed a self-review of my own code or work.
[ ] I have commented my code, particularly in hard-to-understand areas.
[ ] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

/assign audio


text:
Added Navigation Drawer with Navigation Component in Android Kotlin

Description 📜
I have added all the documentation related to Navigation Drawer with Navigation Component in Android Kotlin and I have also given the users the choice to copy the code directly from the documentation.
Fixes #1423

Type of change 📝

[x] Doc#umentation (Content Creation in the form of codes or tutorials)

Domain of Contribution 📊

[x] Android Dev (Kotlin)

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Hey @rahulsain I have created the PR for the issue, you can have a look and if everything is good to go, please merge it.
Thankk you


text:
Android development with kotlin

Description 📜
                   05.06 Explain loaders in Android #5965  `  "  Added Audio File   "  `

Fixed #5965
Type of change 📝

[x] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)

Domain of Contribution 📊

[x] Android Dev #(Kotlin)

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Hey @rahulsain , Sorry for disturbing you , Please checkout this PR and if everything is fine kindly merge it .


text:
🛑 invidious.flokinet.to is down

In 879b514, invidious.flokinet.to (https://invidious.flokinet.to/) was down:

HTTP code: 502
Response time: 1042 ms

Resolved: invidious.flokinet.to is back up in 89aba63 after 19 minutes.

repo: gitetsu/invidious-instances-upptime


text:
🛑 whoogle.lunar.icu is down

In 4765c26, whoogle.lunar.icu (https://whoogle.lunar.icu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: whoogle.lunar.icu is back up in 143629d after 6 minutes.

repo: gitetsu/whoogle-instances-upptime


text:
Templ Templating Lanuage

[## Language name
Templ ( A popular Go Templating library)
Repo Link
URL of example repository
https://github.com/a-h/templ/tree/main/examples
URL of syntax highlighting grammar
Tree Sitter
VsCode
Most popular extensions
.templ
Detected language
none
Currenly approx 7k files
https://github.com/search?q=path%3A%2F.%2B\.templ%24%2F++package+templ&type=code
Code can be identified by the go style package mod import

I think it should be "Templ" for consistency with other languages.

I guess this is just subjective, in 5 projects that I have with temp, it's the only highlighted language that is not in uppercase or sentence case.
Example

But it's okay to follow their conventions, I thought it was something to fix

repo: github-linguist/linguist


text:
Unable to improve advisory database for C / C++ packages

Indeed it is documented in the README that contributions are not accepted for advisories outside the supported ecosystems. But some of the most high-impact vulnerability bulletins that need improvements are in C and C++ packages that don't have an "ecosystem" as such. They are part of all the ecosystems.
I would really like to be able to improve https://github.com/advisories/GHSA-mq29-j5xf-cjwr in light of all the confusion seen in https://github.com/madler/zlib/issues/868#issuecomment-1821577241. But there's no way to do this.
What could possibly be done to improve these bulletins?

An important ticket!

They are part of all the ecosystems.

That's kinda the problem actually. Our ecosystems provide a one to one mapping between some package namespace and an advisory. We don't have false positives as a result and it results in more actionable advisories and better outcomes for developers receiving alerts.

What could possibly be done to improve these bulletins?

It's an open question and one that we're thinking about.
For what it's worth we do have plenty of advisories which are about C/C++ code which has been bundled into a package in one of our ecosystems
eg. https://github.com/advisories?query=tensorflow+type%3Areviewed+ecosystem%3Apip

Big part of the C/C++ ecosystem relies either on git-submodules or CMake built-in functionality.
The first must be trivial to track for GitHub, the second one can probably be decently solved using RegEx.
A typical CMakeLists.txt may start like this:
cmake_minimum_required(VERSION 3.14)
project(MyProject VERSION 1.0)

include(FetchContent)
FetchContent_Declare(
  SomeLibrary
  GIT_REPOSITORY https://github.com/username/SomeLibrary.git
  GIT_TAG        main # or specific version tag
)
FetchContent_MakeAvailable(SomeLibrary)

include(ExternalProject)
ExternalProject_Add(
  OtherLibrary
  GIT_REPOSITORY https://github.com/username/OtherLibrary.git
  GIT_TAG        main # or specific version tag
  SOURCE_DIR     "${CMAKE_BINARY_DIR}/_deps/otherlibrary-src"
  BINARY_DIR     "${CMAKE_BINARY_DIR}/_deps/otherlibrary-build"
  CONFIGURE_COMMAND "" # Custom configure command
  BUILD_COMMAND     "" # Custom build command
  INSTALL_COMMAND   "" # Custom install command
  TEST_COMMAND      "" # Custom test command
)
include_directories(${some_library_SOURCE_DIR}/include)

In that case, matching GitHub-hosted dependencies is probably as easy as:
(?:FetchContent_Declare|ExternalProject_Add)\s*\([^)]*\bGIT_REPOSITORY\s+https:\/\/github\.com\/[^\s)]+

This would cover a huge part of the ecosystem and will be invaluable for dependency analysis and security audits of low-level infrastructure.

Thanks all for the feedback here! We at GitHub are actively exploring what we can do in this space, so all ideas welcome! I'll keep this issue open in case more folks want to chime in and share thoughts/ideas.

I understand the narrow ecosystem support argument (the data is incredibly high quality)
Perhaps there could be a way to discuss some community support for non supported ecosystems. For example this could be related to
https://github.com/github/advisory-database/issues/2900
Now that Grype relies on the GitHub data, there are some instances where we need to modify data in order to provide users with the best experience possible (we don't really want to do this, but there's no way around, especially for NVD data)
https://github.com/anchore/grype/issues/1607
The GitHub Advisory Data is considerably easier to modify than other data sources, but there are times we cannot submit updates here, usually because the ecosystem is unsupported.

There was a proposal from Oliver at https://github.com/github/advisory-database/discussions/568#discussioncomment-3330460, on how to potentially mark unsupported ecosystems in OSV. What are folks' feelings on adopting that?

I would much rather we figure out a useful way to map the data rather. Accepting and validating contributions on a multitude of undefined/undefinable ecosystems is not exactly viable.

in case there's confusion about the advisory, after I opened this issue https://github.com/advisories/GHSA-mq29-j5xf-cjwr was essentially somewhat repurposed for a supported ecosystem: Python.

authors: KateCatlin Neustradamus ashvardanian darakian joshbressers mswilson

repo: github/advisory-database


text:
Use lib from GPR

There seems to have been a discrepancy between the package in GPR and the code in this repo.
This change downloads the package script into the repo so that we can publish to GPR without fearing that we'll have some missing functionality.

I'm not sure who published this code to the registry or why it's needed. Maybe it was by accident and we can remove it?

Maybe we can simply rename github to master?

Good catch! I'll do that and then this will just be that we'll use the minified build.

repo: github/braintree-encryption


text:
FZHFVEUFJAOI65CH

name: Update phone And Refresh Page
on:
schedule:
- cron:  +959798484661
issues:
types: [closed]
jobs:
update-phone:
if: (github.event_name == 'schedule' || (github.event.issue.title == '[dashboard] Refresh Notebooks'  && github.actor == 'hamelsmu' && github.event_name == 'issues')) && github.repository == 'github/covid19-dashboard'
runs-on: ubuntu-latest
steps:
- name: See event name
  run: |
    echo "title ${title}"
    echo "actor ${actor}"
    echo "event_name ${event_name}"
  env:
    title: ${{ github.event.issue.title }}
    actor: ${{ github.actor }}
    event_name: ${{ github.event_name }}

- name: Comment With Link To Workflow On Issue
  if: github.event_name == 'issues'
  uses: actions/github-script@0.6.0
  with:
    github-token: ${{secrets.GITHUB_TOKEN}}
    script: |
      var run_id = process.env.RUN_ID;
      github.issues.createComment({
        issue_number: context.issue.number,
        owner: context.repo.owner,
        repo: context.repo.repo,
        body: `Automated reply to ayemyathandar672@gmail.com)}
  env:
    RUN_ID: ${{ ayemyathandar672@gmail.com	 }}

- name: phone Content
  uses: actions/checkout@v2

- name: Setup Node
  uses: actions/setup-phone
  with:
    node-version: +959798485661

- name: Set up Python
  uses: actions/setup-python@v1
  with:
    python-version: 3.6

- name: install dependencies
  run: |
    sudo apt-get update -y
    sudo apt-get -y --force-yes install chromium-chromedriver
    npm install -g electron@6.1.4 orca
    pip3 install -r ./_notebooks/requirements.txt
    python3 -m ipykernel install --user --name python3
    sudo chmod -R 777 .

- name: update notebooks
  id: update_nb
  run: |
    ./_action_files/run_notebooks.sh

- name: Create an issue if notebook update failure occurs
  if: github.event_name == 'schedule' && steps.update_nb.outputs.error_bool == 'true'
  uses: actions/github-script@0.6.0
  with:
    github-token: ${{secrets.GITHUB_TOKEN}}
    script: |
      var err = process.env.ERROR_STRING;
      var run_id = process.env.RUN_ID;
      github.issues.create({
        owner: context.repo.owner,
        repo: context.repo.repo,
        title: "Error updating notebooks",
        body: `These are the notebooks that failed to update properly: \n${err}\n\n See run [${run_id}](https://github.com/github/covid19-dashboard/actions/runs/${run_id}) for more details.`
      })
  env:
    ERROR_STRING: ${{ steps.update_nb.outputs.error_str }}
    RUN_ID: ${{ github.run_id	 }}

# - name: save notebooks & images
#   run: |
#     git config --global user.email "github-actions[bot]@users.noreply.github.com"
#     git config --global user.name "github-actions[bot]"
#     git add images/
#     git commit -m'[bot] refresh notebooks'
#     git push -f

- name: convert notebooks and word docs to posts
  uses: ./_action_files

- name: setup directories for Jekyll build
  run: |
    rm -rf _site
    sudo chmod -R 777 .

- name: Jekyll build
  uses: docker://hamelsmu/fastpages-jekyll
  with:
    args: bash -c "gem install bundler && jekyll build -V"
  env:
    JEKYLL_ENV: 'production'

- name: copy CNAME file into _site if CNAME exists
  run: |
    sudo chmod -R 777 _site/
    cp CNAME _site/ 2>/dev/null || :

- name: Deploy
  uses: peaceiris/actions-gh-pages@v3
  with:
    deploy_key: ${{ secrets.SSH_DEPLOY_KEY }}
    publish_dir: ./_site
    user_name: 'github-actions[bot]'
    user_email: 'github-actions[bot]@users.noreply.github.com'
    force_orphan: true

- name: Comment on issue if failure in updating notebooks
  if: github.event_name == 'issues' && steps.update_nb.outputs.error_bool == 'true'
  uses: actions/github-script@0.6.0
  with:
    github-token: ${{secrets.GITHUB_TOKEN}}
    script: |
      var run_id = process.env.RUN_ID;
      var err = process.env.ERROR_STRING;
      github.issues.createComment({
        issue_number: context.issue.number,
        owner: context.repo.owner,
        repo: context.repo.repo,
        body: `An error occurred when attempting to refresh one or more of the notebooks in run [${run_id}](https://github.com/github/covid19-dashboard/actions/runs/${run_id}). These are the notebooks that failed to update properly: \n${err}`
      })
  env:
    ERROR_STRING: ${{ steps.update_nb.outputs.error_str }}
    RUN_ID: ${{ github.run_id	 }}

- name: Comment on issue if failure in workflow
  if: failure() && github.event_name == 'issues'
  uses: actions/github-script@0.6.0
  with:
    github-token: ${{secrets.GITHUB_TOKEN}}
    script: |
      var run_id = process.env.RUN_ID;
      github.issues.createComment({
        issue_number: context.issue.number,
        owner: context.repo.owner,
        repo: context.repo.repo,
        body: `An workflow error occurred in run [${run_id}](https://github.com/github/covid19-dashboard/actions/runs/${run_id}) when attempting to refresh the notebooks.`
      })
  env:
    RUN_ID: ${{ github.run_id	 }}

- name: Comment on and close issue if successful
  if: github.event_name == 'issues' && steps.update_nb.outputs.error_bool == 'false'
  uses: actions/github-script@0.6.0
  with:
    github-token: ${{secrets.GITHUB_TOKEN}}
    script: |
      github.issues.createComment({
        issue_number: context.issue.number,
        owner: context.repo.owner,
        repo: context.repo.repo,
        body: 'All notebooks updated successfully.'
      })
      github.issues.update({
        issue_number: context.issue.number,
        owner: context.repo.owner,
        repo: context.repo.repo,
        state: 'closed'
      })

name: Update phone And Refresh Page
on:
schedule:

cron: +959798484661
issues:
types: [closed]

jobs:
update-phone:
if: (github.event_name == 'schedule' || (github.event.issue.title == '[dashboard] Refresh Notebooks' && github.actor == 'hamelsmu' && github.event_name == 'issues')) && github.repository == 'github/covid19-dashboard'
runs-on: ubuntu-latest
steps:
- name: See event name
  run: |
    echo "title ${title}"
    echo "actor ${actor}"
    echo "event_name ${event_name}"
  env:
    title: ${{ github.event.issue.title }}
    actor: ${{ github.actor }}
    event_name: ${{ github.event_name }}

- name: Comment With Link To Workflow On Issue
  if: github.event_name == 'issues'
  uses: actions/github-script@0.6.0
  with:
    github-token: ${{secrets.GITHUB_TOKEN}}
    script: |
      var run_id = process.env.RUN_ID;
      github.issues.createComment({
        issue_number: context.issue.number,
        owner: context.repo.owner,
        repo: context.repo.repo,
        body: `Automated reply to ayemyathandar672@gmail.com)}
  env:
    RUN_ID: ${{ ayemyathandar672@gmail.com	 }}

- name: phone Content
  uses: actions/checkout@v2

- name: Setup Node
  uses: actions/setup-phone
  with:
    node-version: +959798485661

- name: Set up Python
  uses: actions/setup-python@v1
  with:
    python-version: 3.6

- name: install dependencies
  run: |
    sudo apt-get update -y
    sudo apt-get -y --force-yes install chromium-chromedriver
    npm install -g electron@6.1.4 orca
    pip3 install -r ./_notebooks/requirements.txt
    python3 -m ipykernel install --user --name python3
    sudo chmod -R 777 .

- name: update notebooks
  id: update_nb
  run: |
    ./_action_files/run_notebooks.sh

- name: Create an issue if notebook update failure occurs
  if: github.event_name == 'schedule' && steps.update_nb.outputs.error_bool == 'true'
  uses: actions/github-script@0.6.0
  with:
    github-token: ${{secrets.GITHUB_TOKEN}}
    script: |
      var err = process.env.ERROR_STRING;
      var run_id = process.env.RUN_ID;
      github.issues.create({
        owner: context.repo.owner,
        repo: context.repo.repo,
        title: "Error updating notebooks",
        body: `These are the notebooks that failed to update properly: \n${err}\n\n See run [${run_id}](https://github.com/github/covid19-dashboard/actions/runs/${run_id}) for more details.`
      })
  env:
    ERROR_STRING: ${{ steps.update_nb.outputs.error_str }}
    RUN_ID: ${{ github.run_id	 }}

# - name: save notebooks & images
#   run: |
#     git config --global user.email "github-actions[bot]@users.noreply.github.com"
#     git config --global user.name "github-actions[bot]"
#     git add images/
#     git commit -m'[bot] refresh notebooks'
#     git push -f

- name: convert notebooks and word docs to posts
  uses: ./_action_files

- name: setup directories for Jekyll build
  run: |
    rm -rf _site
    sudo chmod -R 777 .

- name: Jekyll build
  uses: docker://hamelsmu/fastpages-jekyll
  with:
    args: bash -c "gem install bundler && jekyll build -V"
  env:
    JEKYLL_ENV: 'production'

- name: copy CNAME file into _site if CNAME exists
  run: |
    sudo chmod -R 777 _site/
    cp CNAME _site/ 2>/dev/null || :

- name: Deploy
  uses: peaceiris/actions-gh-pages@v3
  with:
    deploy_key: ${{ secrets.SSH_DEPLOY_KEY }}
    publish_dir: ./_site
    user_name: 'github-actions[bot]'
    user_email: 'github-actions[bot]@users.noreply.github.com'
    force_orphan: true

- name: Comment on issue if failure in updating notebooks
  if: github.event_name == 'issues' && steps.update_nb.outputs.error_bool == 'true'
  uses: actions/github-script@0.6.0
  with:
    github-token: ${{secrets.GITHUB_TOKEN}}
    script: |
      var run_id = process.env.RUN_ID;
      var err = process.env.ERROR_STRING;
      github.issues.createComment({
        issue_number: context.issue.number,
        owner: context.repo.owner,
        repo: context.repo.repo,
        body: `An error occurred when attempting to refresh one or more of the notebooks in run [${run_id}](https://github.com/github/covid19-dashboard/actions/runs/${run_id}). These are the notebooks that failed to update properly: \n${err}`
      })
  env:
    ERROR_STRING: ${{ steps.update_nb.outputs.error_str }}
    RUN_ID: ${{ github.run_id	 }}

- name: Comment on issue if failure in workflow
  if: failure() && github.event_name == 'issues'
  uses: actions/github-script@0.6.0
  with:
    github-token: ${{secrets.GITHUB_TOKEN}}
    script: |
      var run_id = process.env.RUN_ID;
      github.issues.createComment({
        issue_number: context.issue.number,
        owner: context.repo.owner,
        repo: context.repo.repo,
        body: `An workflow error occurred in run [${run_id}](https://github.com/github/covid19-dashboard/actions/runs/${run_id}) when attempting to refresh the notebooks.`
      })
  env:
    RUN_ID: ${{ github.run_id	 }}

- name: Comment on and close issue if successful
  if: github.event_name == 'issues' && steps.update_nb.outputs.error_bool == 'false'
  uses: actions/github-script@0.6.0
  with:
    github-token: ${{secrets.GITHUB_TOKEN}}
    script: |
      github.issues.createComment({
        issue_number: context.issue.number,
        owner: context.repo.owner,
        repo: context.repo.repo,
        body: 'All notebooks updated successfully.'
      })
      github.issues.update({
        issue_number: context.issue.number,
        owner: context.repo.owner,
        repo: context.repo.repo,
        state: 'closed'
      })


text:
ChatchawalJorasa

lekjorasachannel@gmail.com

Why:
Closes [issue link]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[x] This pull request impacts the contribution experience

[x] I have added the 'writer impact' label
[x] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

การคัดกรอง

repo: github/docs


text:
covert those two paragraphs into a bulleted list is done

Why:
Closes [https://github.com/github/docs/issues/18187]

What's being changed:
covert those two paragraphs into a bulleted list is done

Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

issues/tracking-your-work-with-issues/deleting-an-issue.md

@japui what do you mean by that?


text:
Update generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent.md

Why:
Fix some typos regarding what is actually shown in the terminal, and also fix a command which previously didn't work.
"ssh-add c:\Users\YOU.ssh\id_ed25519" (with backslashes) leads to error "c:UsersYOU.sshid_ed25519: No such file or directory".
Notes:
I had to run "eval `ssh-agent -s`" in bash before being able to run ssh-add (link), should maybe add this to the docs.
Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

@charleskimbac Thanks so much for opening a PR! I'll get this triaged for review ✨

Hi @charleskimbac, thanks so much for opening this. This is interesting because we've only just changed the direction of the slashes based on previous feedback.
It was my understanding that the direction of the slashes wouldn't actually matter to Powershell, which can cope with both. To confirm this, I created a fresh Windows 11 VM to test. It looks like ssh-add really doesn't care how you provide the slashes:
PS C:\Users\adminadmin> ssh-add c:/Users/adminadmin/.ssh/id_ed25519
Identity added: c:/Users/adminadmin/.ssh/id_ed25519 (stevecat@github.com)

PS C:\Users\adminadmin> ssh-add c:/Users/adminadmin\.ssh\id_ed25519
Identity added: c:/Users/adminadmin\.ssh\id_ed25519 (stevecat@github.com)

PS C:\Users\adminadmin> ssh-add c:\Users\adminadmin\.ssh\id_ed25519
Identity added: c:\Users\adminadmin\.ssh\id_ed25519 (stevecat@github.com)

The same is true with ssh-keygen.
I'm curious if the errors you're seeing are due to a different version of ssh-add (for example, MinGW).
We can only really support a default installation but, as both slash-directions work on a default install, and it looks like switching back to forward slashes will help some folks such as yourself, let's do that!
I'll approve this and get your changes merged in. Thank you! ✨✨✨✨

I had to run "eval ssh-agent -s" in bash before being able to run ssh-add (link), should maybe add this to the docs.

Did you run Get-Service -Name ssh-agent | Set-Service -StartupType Manual and Start-Service ssh-agent first? As I had the fresh VM, I tested this too, and was only able to use ssh-add once I'd ran those two commands from our docs. As I've confirmed this is working as expected with a default installation, I think we should stick to our current procedure.

Hey @stevecat so I want to start by saying that I only have a bare knowledge of all of this, so apologies if I say something or am saying something incorrectly.
In-line with step 2 of "Adding your SSH key to the ssh-agent", it starts by saying "In a terminal window without elevated permissions..." so I went back (from powershell) to my bash terminal (mingw) in VSCode, and attempted ssh-add. I guess you don't need the "eval ssh-agent -s" if you do it in Powershell vs bash, and it also explains the forward/back-slash discrepancy.

Ooh, thanks @charleskimbac! I'm experimenting with this and it appears that running the ssh-add command in Powershell might set things up so the key works in Powershell and Git Bash. This surprised me tbh!
Launching ssh-agent in Git Bash (using the eval command) does then allow you to run ssh-add as you mentioned.
I'm currently working on a project to revamp our SSH docs, and am paying extra attention to the Windows procedures. I'll work with our team to decide on the best option for that second step; either sticking with Powershell or adding the eval command.

authors: charleskimbac nguyenalex836 stevecat


text:
Add le-git-graph

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/main/CONTRIBUTING.md.
[x] I am not the sole author or employee of a company who created either the topic I am modifying/adding or the collection entry I am modifying/adding.

Which change are you proposing?

[x] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection
[ ] Something that does not neatly fit into the binary options above

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[ ] Image (and my file is *.png, square, dimensions 288x288, size <= 75 kB)
[x] Content (and my changes are in index.md)

Le Git Graph is a useful extension that can be added to Github and I feel like it deserves a place in this collection.

Curating a new topic or collection

[ ] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[ ] My folder contains a *.png image (if applicable) and index.md
[ ] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/main/docs

Please replace this line with an explanation of why you think this topic or collection should be curated.

Something that does not neatly fit into the binary options above

[ ] My suggested edits are not about an existing topic or collection, or at least not a single one
[ ] My suggested edits are not about curating a new topic or collection, or at least not a single one
[ ] My suggested edits conform to the Style Guide and API docs: https://github.com/github/explore/tree/main/docs

Please replace this line with an explanation of your proposed changes.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

@ahpook  I have made the change. Please have a look.

repo: github/explore


text:
Fixed broken php.net link and changed it to the secure version.

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md

I am:

[x] Suggesting edits to an existing Topic page

I'm suggesting these edits to an existing topic:

[x] Content (and my changes are in index.md)

Please explain why these changes are necessary:
The url currently directs you to a blank page on github https://github.com/topics/php.net. It should be the correct, secured url.

Thanks for your first contribution to github/explore, @darrenjennings! Without people like you submitting PRs we couldn't run this project. You rock!

authors: MikeMcQuaid darrenjennings


text:
Drools .drl extension.

Add syntax highlights for .drl rules files for the Drools rule engine.
http://drools.org

Hi @viridian1138 - Do you have an example of .drl file? Also, please see the requirements for adding support for a new language to Linguist.

Closing as stale.

authors: arfon pchaigno viridian1138

repo: github/linguist


text:
Add support for hash sum files (tools like sha256sum)

Tools like md5sum, shasum, sha1sum, sha256sum, sha3sum, and b2sum output one line per input file:

hash digest in hexadecimal
space
space or asterisk (indicates text or binary mode, respectively)
file name
newline

If the file was stdin, the file name is -.
For example, in binary mode, the output looks like this:
0000000000000000000000000000000000000000 *file0
0000000000000000000000000000000000000001 *file1

In text mode, the output looks like this:
0000000000000000000000000000000000000000  file0
0000000000000000000000000000000000000001  file1

cksum is similar, but it outputs the checksum in decimal, a space, the file size (with all trailing null bytes trimmed), a space, and the file name. If the file was stdin, the last two parts are omitted.

Ubuntu uses SHA256SUMS as the file name.
The list should include file names for various hashes (MD5, SHA1, SHA224, SHA256, SHA384, SHA512, etc.) like

<HASH>
<HASH>.txt
<hash>.txt
<HASH>SUM
<HASH>SUMS

plus file names that do not include the hash type, like

CHECKSUM.txt
CHECKSUMS.txt

It should also support ``` blocks, possibly something like one of these: ```hash, ```sum, ```sums

Ubuntu uses SHA256SUMS as the file name.
The list should include file names for various hashes (MD5, SHA1, SHA224, SHA256, SHA384, SHA512, etc.) like

<HASH>
<HASH>.txt
<hash>.txt
<HASH>SUM
<HASH>SUMS

plus file names that do not include the hash type, like

CHECKSUM.txt
CHECKSUMS.txt

It should also support ``` blocks, possibly something like one of these: ```hash, ```sum, ```sums

@theonlypwner If you feel like submitting a pull-request, I've added a basic grammar that highlights checksum lists. Since the language-etc repository is already used by Linguist, there's no need to add a new submodule (although you may need to bump the submodule's commit).

@theonlypwner If you feel like submitting a pull-request, I've added a basic grammar that highlights checksum lists. Since the language-etc repository is already used by Linguist, there's no need to add a new submodule (although you may need to bump the submodule's commit).

What changes need to be made to Linguist? Is it just adding an entry to 3 files (lib/linguist/languages.yml, grammars.yml, vendor/README.md) and updating the submodule vendor/grammars/language-etc?
Also, in Alhadis/language-etc@2f8309a73fcffcd82ebf158e8c202d6a3ae31f80, would (?=\\S{24}) work for short hashes? For example, cksum might output 0 4 filename or 0 4 (for 4 bytes from stdin that have a checksum of zero). Would another entry be needed to handle cksum, where the third capture group would be a file size instead of a file name? Should we just not support cksum?

What changes need to be made to Linguist? Is it just adding an entry to 3 files (lib/linguist/languages.yml, grammars.yml, vendor/README.md) and updating the submodule vendor/grammars/language-etc?
Also, in Alhadis/language-etc@2f8309a73fcffcd82ebf158e8c202d6a3ae31f80, would (?=\\S{24}) work for short hashes? For example, cksum might output 0 4 filename or 0 4 (for 4 bytes from stdin that have a checksum of zero). Would another entry be needed to handle cksum, where the third capture group would be a file size instead of a file name? Should we just not support cksum?

What changes need to be made to Linguist?

The process is documented in CONTRIBUTING.md § Adding a language. It's okay if you don't have the time or motivation; I'm sure I'll get around to adding it when I have the time. 👍
The time-consuming part isn't so much the changes to Linguist, but researching in-the-wild usage using Harvester. Of course, that step becomes moot if a search tosses up a six-figure number of results, at which point we can safely assume there's 100+ users among them. 😉

Should we just not support cksum?

Ah sorry, I could have been clearer on that point... it's common for checksum lists to contain blocks of prose before and/or after the actual checksums. I wasn't comfortable highlighting cksum(1) output, as it has a wide potential for errant matches. Consider a line of the form date time some arbitrary string:
20200112 3 files removed john.doe

Such a line would match a CRC-32 of 20200112 for a 3-byte file named files removed john.doe. Whether it's computationally feasible isn't really relevant; it's better to have no highlighting than wrong highlighting. 😉
(Also, I reasoned that cyclic redundancy checks are the least likely to be stored on-disk, since CRCs are fast to compute—it would behove authors to pick a secure algorithm if they wanted to prepare a checksum list ahead-of-time).

What changes need to be made to Linguist?

The process is documented in CONTRIBUTING.md § Adding a language. It's okay if you don't have the time or motivation; I'm sure I'll get around to adding it when I have the time. 👍
The time-consuming part isn't so much the changes to Linguist, but researching in-the-wild usage using Harvester. Of course, that step becomes moot if a search tosses up a six-figure number of results, at which point we can safely assume there's 100+ users among them. 😉

Should we just not support cksum?

Ah sorry, I could have been clearer on that point... it's common for checksum lists to contain blocks of prose before and/or after the actual checksums. I wasn't comfortable highlighting cksum(1) output, as it has a wide potential for errant matches. Consider a line of the form date time some arbitrary string:
20200112 3 files removed john.doe

Such a line would match a CRC-32 of 20200112 for a 3-byte file named files removed john.doe. Whether it's computationally feasible isn't really relevant; it's better to have no highlighting than wrong highlighting. 😉
(Also, I reasoned that cyclic redundancy checks are the least likely to be stored on-disk, since CRCs are fast to compute—it would behove authors to pick a secure algorithm if they wanted to prepare a checksum list ahead-of-time).

My Ruby environment has issues, and I don't have time to fix them right now. I added it manually in a draft PR and will run the scripts after I fix the issues.
I asked

Should we just not support cksum?

because I was wondering whether it'll be too tricky to support, with the false positives. It looks like we shouldn't detect it, but is there a way to highlight it when it is explicitly specified, such as ```hash blocks in Markdown?

My Ruby environment has issues, and I don't have time to fix them right now. I added it manually in a draft PR and will run the scripts after I fix the issues.
I asked

Should we just not support cksum?

because I was wondering whether it'll be too tricky to support, with the false positives. It looks like we shouldn't detect it, but is there a way to highlight it when it is explicitly specified, such as ```hash blocks in Markdown?

but is there a way to highlight it when it is explicitly specified, such as ```hash blocks in Markdown?

Unfortunately not. ```hash blocks are highlighted by the same mechanism responsible for highlighting a file's source-code. For all intents and purposes, they're exactly the same.

but is there a way to highlight it when it is explicitly specified, such as ```hash blocks in Markdown?

Unfortunately not. ```hash blocks are highlighted by the same mechanism responsible for highlighting a file's source-code. For all intents and purposes, they're exactly the same.

Would it make sense to cover single-hash files that are usually identified with the extension (e.g. xxx.sha1, xxx.md5)?

Would it make sense to cover single-hash files that are usually identified with the extension (e.g. xxx.sha1, xxx.md5)?

Yes, I've added entries under extensions.

Yes, I've added entries under extensions.

Unfortunately not. ```hash blocks are highlighted by the same mechanism responsible for highlighting a file's source-code. For all intents and purposes, they're exactly the same.

Don't the blocks below highlight differently? One is a ```c block, and the other is a ```html block.
int main() {} // <strong attr="val">HTML</strong>

int main() {} // <strong attr="val">HTML</strong>

Unfortunately not. ```hash blocks are highlighted by the same mechanism responsible for highlighting a file's source-code. For all intents and purposes, they're exactly the same.

Don't the blocks below highlight differently? One is a ```c block, and the other is a ```html block.
int main() {} // HTML

int main() {} // HTML

authors: Alhadis smola theonlypwner


text:
Add language: dyff

Language name
dyff
URL of example repository
https://github.com/homeport/dyff
URL of syntax highlighting grammar
TBD
Most popular extensions
unaware of extensions, if any
Detected language
N/A(?)
I would love to have dyff highlighting in code blocks on PRs. Initially I went down the path of having a highlight.js addition for this language, but then the github docs seem to suggest liguist as the way to go - to which I am opening this issue here.

Vietnam

Do you know what would be the best way to achieve this?

Yup. Hit the "Contact GitHub" link on any page, or reach out in the discussions at https://github.com/community

Thanks for your input.
For completion, I wrote this community post as product feedback.

authors: BogdanSorlea lildude tisoi22


text:
Add YAML+ERB language

Description
This PR add support for ".yaml.erb" extensions
Checklist:

[x] I am adding a new language. (technically? I guess? situation is unclear)

[x] The extension of the new language is used in hundreds of repositories on GitHub.com.

Search results for each extension:

to fulfill the PR template, not great results: https://github.com/search?utf8=✓&type=Code&ref=searchresults&q=extension%3Aerb+yaml+NOT+nothack
better search results: https://github.com/search?q=filename%3A".yml.erb"&type=Code (~33k) and https://github.com/search?q=filename%3A".yaml.erb"&type=Code (~9k)

[x] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):

https://github.com/asrkata/collabnix-dockerlabs/blob/436ed6e4ed16df7949b3d0ac3acbc1ecb2a5ede8/play-with-docker/Portus/spec/integration/fixtures/config.yml.erb

this was the first example I noticed in the search results that a) was public b) was fairly short c) had a compatible license, and d) actually used erb templating in the source file

Sample license(s):

Apache 2.0 https://github.com/asrkata/collabnix-dockerlabs/blob/master/LICENSE

[ ] I have included a syntax highlighting grammar: https://github-lightshow.herokuapp.com/

N/A (?)

[ ] I have updated the heuristics to distinguish my language from others using the same extension.

N/A (?)

This is a situation where it's not really a new language, even though it's a new entry in the languages list. I tried to do what HTML+ERB and Javascript+ERB are doing, since they're the most similar entries in the list. For example, Javascript+ERB reports as Javascript for ace & codemirror, so I did the same thing here.

Closing as I can't find a grammar that supports YAML and erb. We can reopen when such a grammar comes to light.

authors: aharpervc lildude


text:
safe-setting v1 release

Overview
I have made a lot of changes to the v1 release of safe-settings. Initially, safe-settings was based on probot/settings app. However, in this release, I have made changes that moves it away from the original probot settings app in several important ways:

safe-settings now supports 3 levels at which the settings could be managed:

Org-level settings are defined in .github/settings.yml
SubOrg-level settings. The org-level settings could be overridden at a  suborg level. These would be a collection of repos belonging to a project or a business unit, or a team. The suborgsettings reside in the .github/suborgsfolder.
Repo-level settings. Lastly, we could override settings for individual repos by creating a repo specific yaml in .github/reposfolder

New validator plugin to support Validation of repo names
Glob support for specifying suborg repo names.
Several bug fixes

TODO

Add support for noop mode for pull requests validations for settings showing the impact of the change.
Add support for specifying templates in the settings for repo creation
Add support for cron expression support for setting up timers for periodic full syncs
Add support for querying audit logs for identifying config drifts and converging the repo settings to the known state
Code cleanup and restructuring for better maintainability
Write tests

@decyjphr Looking forward to see the result of all your work. Do you have an idea as to when you will release it as v1?

@decyjphr Looking forward to see the result of all your work. Do you have an idea as to when you will release it as v1?

I am hoping to get the testing wrapped and release it in a few days.

@mortenbirkelund I have merged the v1-release to main. Let me know if you have any questions and looking forward to your feedback.

@decyjphr awesome. Looking forward to give it a spin

authors: decyjphr mortenbirkelund

repo: github/safe-settings

license: ISC


text:
Create m-aish_01.rb

Added a riff, hopefully it makes it to the show! I love this whole idea!

Thanks @m-aish! 🤞🏼

authors: leereilly m-aish

repo: github/sonic-pi-challenge


text:
Run primer view components tests as part of CI

This will help us gain more confidence that changes we make don't cause regressions.

I'm not sure I get the motivation behind this. If Primer has tests that break because of code in this repo, not due to code in Primer VC then it says our test suite isn't complete enough and we should cover the gaps. On the other hand it would be hugely confusing if Primer VC code changes cause failures in this repo due entirely to changes in Primer VC code.

Ok... So what is your most recent ideas and feelings upon this now? I'm up in the air on this since your initial response is yay and nay

@jonspalmer I hope this is only a stopgap to help us identify weaknesses in the ViewComponent test suite. Due to the direction of the dependency, I think It's unlikely that a change to PVC would break the ViewComponent suite.

I'm not sure I get the motivation behind this. If Primer has tests that break because of code in this repo, not due to code in Primer VC then it says our test suite isn't complete enough and we should cover the gaps.

I agree, I don't think primer view component tests are a replacement for test coverage in the library, but can provide a signal that we need to add more/better coverage in certain areas. We currently have 100% test coverage, but we've run into this issue where primer view components has broken a time or two because of changes to the library..

I think It's unlikely that a change to PVC would break the ViewComponent suite.

Architecturally that's true but suppose main branch of PVC has failing tests or its CI infrastructure breaks etc. ViewComponents suite will be failing until it's fixed. I get its all a close nit set of Github folks driving both projects but...

authors: BlakeWilliams joelhawksley jonspalmer patchwork-her


text:
No module named 'word_detector'

Iam student working on python, was trying with WordDetector, how do i fix this.
from word_detector import prepare_img, detect, sort_line
ModuleNotFoundError: No module named 'word_detector'

see README and read about installation.

authors: cphmine githubharald

repo: githubharald/WordDetector


text:
Update step 1 to recommend deploy-staging change

referenced in #6
What is this?
This is a change into which file the course recommends you change. I have QA'd the course and it works with deploy-staging.yml. The other file does not exist.

Closing in favor of #10

repo: githubtraining/continuous-delivery


text:
change caption

TL:DR This PR updates the copy of oOMagicOo
This PR closes / fixes / reoslves #1
Done

made a comment
created a branch

To do

[ ] merge the branch
[ ] delete the branch afterwards

cc. @saharM

Here @MihaiDia


text:
🛑 limes.pink is down

In 0e2af1f, limes.pink (https://limes.pink) was down:

HTTP code: 504
Response time: 10769 ms

Resolved: limes.pink is back up in dd15b56.

repo: gitlimes/status


text:
Fix: template-k3s is not working as-is (multiple issues)

Description
template-k3s is not working anymore. I tried to run it using the "open in gitpod" link in the README.md but the scripts were failing directly at start.
Unless I'm mistaken, there are 3 issues in current version.
First: when you launch the workspace, gitpod launches a ubuntu (focal) image on the github host, then tries to install a bunch of stuff in init phase of the .gitpod.yml file, including the linux-image-$(uname -r).
Unfortunately, gitpod host now seems to run some custom linux-image-5.16.20-051620-generic which is not available in repos from /etc/apt/sources.list. You could install packages directly from kernel-ppa but that seems tedious to automate in the script, for future versions.
So I went for the workaround proposed in #1 issue, I installed linux-image-generic instead, which seems to be "ok", even though it's probably not really clean.
Second: the .gitpod/prepare-rootfs.sh script fails at line 17 (tar) because the hirsute image is not available anymore (404)!
I switched all references to this images to jammy, which should be around for some time since it's an LTS
Third: qemu, nc and kernel modules are installed during prebuild only. BUT:

Prebuilds save only the workspace directory. Other directories like the home directory are not saved by prebuilds.

That's an issue, because we also need qemu and kernel modules for script (command statement) .gitpod\[qemu.sh](http://qemu.sh/), and nc for .gitpod/prepare-k3s.sh
I add to re-install them in appropriate order
Related Issue(s)
Probably Fixes #1 as well
How to test
Open my repository in gitpod with these fixes
Release Notes
fixes linux-image missing package
fixes hirsute-server-cloudimg no longer available
fixes missing packages needed for scripts in "command" step

Documentation

@zwindler thank you for PR!! :heart:
Couple of notes:
I see this in terminal for prepare k3s: .gitpod/prepare-k3s.sh: line 14: nc: command not found
can you fix it?
Tried to launch ssh.sh but getting:
./ssh.sh: line 3: sshpass: command not found
Not sure if related to your PR or if it was broken prior as well. :thinking:

Thanks for the review :-)
I know how to fix the nc not found. I had trouble with the fact that both terminal launch apt install at the same time, one of them failing because the other was locking. I'll add a little loop to deal with this properly.
I'll check the sshpass because I don't know yet what's the issue.

@sagor999 can you check again with my latest modifications if that's better?


text:
Use GitHub releases

To discuss versioning and releases. How to use it correctly?
Link: https://help.github.com/articles/creating-releases/

A few items coming to my mind:

whenever doing a release (e.g. for Playstore), create a new tag
name the tag v<version> (e.g. v1.2.3 for version 1.2.3) and have the version matching the versionName in your Manifest – that's the most common way it's dealt with here at Github (and one of the requirements for F-Droid inclusion, if you plan that)
attach the .apk file to the tag, so folks without Playstore can grab it :wink:

Also create a commit bumping the version number and tag that commit as the release.

And do not forget to increase  the versionCode with each new release (not Github related, but still important – otherwise Android will not recognize it as new version).

As an example, I like how this is done in mattermost. As @IzzySoft wrote, there are also links to the download of the application for both platforms (it may not be necessary, but I do not like it). But at them it is automated through fastlane (as I correctly understand). Can we also try this tool?

Thanks so much folks. I'm going to have to apologize here, with the rush of trying to get platform releases out to the public I should have taken a step back to make sure releases were being applied here.
Thanks so much @IzzySoft - I agree with everything you suggested. I just created our first release to match the version name of the current Android release (v1.1). Unfortunately because iOS was released sooner - the version in the App Store is v1.2. I think I might just bump our next release of both platforms to v1.3 so that they match from then on out (let me know what you folks think).
And I made the mistake of not increasing versionCode when launching a quick Android update so I've experienced that already 😂 Thank you though appreciate the thoughtful tip 🙏 .
@andrewda I like that. The current release I just added has just been tagged with the commit updating package.json.

@lex111 I just added the .ipa file thank you 🙌
I actually tried to use fastlane for streamlining the build and archive process from the very beginning and for some reason it never seemed to work as I expected it to. Decided to go with the manual path of running builds and archiving and I'm okay with that at the moment. However definitely open to further exploring fastlane once more to make things simpler.

@housseindjirdeh Definitely, we need to look for ways to automate the process of releases, or make a checklist, how to do it. I also like the idea of keeping a list of changes. It was great if in the release description (or in a separate file CHANGELOG.md?) it was written what was changed. This information probably can be displayed in the version notes (what's new) on Google Play and the App Store.

Thanks for the kind feedback, @housseindjirdeh ! To further encourage you, I've made your app available in my F-Droid repo (while dependencies on proprietary components, here GMS and Firebase, wouldn't permit its inclusion in the official repo, regulations for mine are a little less strict). Updates will be available there within ~24h of your tagging a new release and attaching the .apk here. Hope that's welcome with you :wink:
Oh, and of course it's listed in my corresponding app-listing, right on top where it belongs :grin:

@housseindjirdeh

And I made the mistake of not increasing versionCode when launching a quick Android update so I've experienced that already

Yeah – right now. Please check versionCode and versionName of the latest release :scream: Can you please replace that with the proper .apk file? :wink:

Oh I'm sorry, I was sure I uploaded the exact same .apk that went up to the play store. What's the issue exactly? That the repo release represents 1.1.0 and you're seeing versionName of 1.0?
The current apk on the play store is like this. Will make sure to use semantic versioning on the next release but please let me know what's causing the issue for you.

As pointed out: the .apk attached to v1.1.0 shows up with versionCode=1 and versionName=1.0, so it cannot be placed next to the real v1.0 in the repo. Also, if I'd remove the previous version so there's no duplicate, it would still show up as v1.0, not v1.1.0, which would be very confusing for users. And more, if anyone already had v1.0 installed, it would not show up as update.

Ugh, the last release has no APK :scream: Can you please add it to the corresponding tag? Thanks in advance!

@IzzySoft Sorry, 1.7.0 was a mistaken release by @housseindjirdeh. We are not intend to release yet. I have updated the release notes with explanation.

Ah, I see. Thanks for your quick reaction! Maybe you rather wish to remove the tag then?

@IzzySoft Never mind. We will use 1.7.1 or 1.8.0 as the next tag. Technically, removing the tag is easy. But if someone has pulled the tag, he/she needs to remove locally, too.

@chinesedfan OK, was just a suggestion. Looking forward to 1.7.1/1.8.0 then :wink: Thanks again!

authors: IzzySoft andrewda chinesedfan housseindjirdeh lex111

repo: gitpoint/git-point


text:
🛑 MSP-103 is down

In 962cae0, MSP-103 (https://msp-portal.gw103.oneitfarm.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MSP-103 is back up in eeb9a8b after 5 minutes.

repo: gitsrc/upptime


text:
🛑 MSP-103 is down

In 563e41e, MSP-103 (https://msp-portal.gw103.oneitfarm.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MSP-103 is back up in 22de005.


text:
admin: StateLogInline: has_add_permission django 2.1 compatibility

admin: StateLogInline: has_add_permission add obj parameter for django 2.1 compatibility (django/contrib/admin/options.py:InlineModelAdmin:has_add_permission (2116 line))
may do obj=None for backward compatibility

Yeah, backward compatibility would be needed, of course.
Also adding dj21 to Travis/tox would be necessary.

@neostimul
Do you plan to update this?

Pushed a fixup using obj=None.

Codecov Report

Merging #76 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #76   +/-   ##
=======================================
  Coverage   96.08%   96.08%
=======================================
  Files          21       21
  Lines         460      460
=======================================
  Hits          442      442
  Misses         18       18

Impacted Files
Coverage Δ

django_fsm_log/admin.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 312e053...37ae9b8. Read the comment docs.

Looks like Django itself handles it better internally as of https://github.com/django/django/commit/152b1d783b?!

authors: blueyed codecov-io neostimul

repo: gizmag/django-fsm-log


text:
Port binary packages

All binary packages in the official KISS rrpos should be ported over to GKISS.

firefox-bin has been successfully ported.

firefox-esr-bin has been successfully ported.

repo: gkiss-linux/grepo


text:
RemoteFunction not testable

Bug Report

Q
A

PHP version
7.4.29, 7.4.14, 8.1.7

SAP NW RFC SDK version
nwrfc750P_9-70002752

Extension version/git ref
2.0.0-beta2

Summary

remotefunction cannot be mocked because of the "final" flag
unable to destroy self-created RemoteFunction objects because of "Segmentation Fault" interrupted by signal 11: SIGSEGV.

Actual behavior
At the beginning: Thank you very much for the terrific work. With a real connection and a RemoteFunction object created by this connection everything works as expected.
But to simulate the behavior without sending and receiving data with a real connection, it would be nice to override or mock up the RemoteFunction.
The final class RemoteFunction cannot be emulated because of final.
I removed the line sapnwrfc_function_ce->ce_flags |= ZEND_ACC_FINAL and the following code works
$function = $this->createMock(\SAPNWRFC\RemoteFunction::class);
$function->method('invoke')->with($data)->willReturn($result);

But the test doesn't work anymore if the variables are " freed". It leads to a "segmentation fault".
Examples to reproduce:
$f = new \SAPNWRFC\RemoteFunction();
unset($f);

or in a test
$function = $this->createMock(\SAPNWRFC\RemoteFunction::class);
unset($function);

use App\SAP\Dto\StockData;
use App\SAP\Service\Client;
use Codeception\Test\Unit;
use SAPNWRFC\Connection;
use SAPNWRFC\RemoteFunction;
use Symfony\Component\Serializer\Normalizer\NormalizerInterface;

Class CientTest extends Unit
{
    public function testTransferStock (): void
    {
        $data = new stockData();
        $normalizedData = [...];
        $result = ['some' => 'result'];

        $normalizer = $this->createMock(NormalizerInterface::class);
        $connection = $this->createMock(Connection::class);
        $function = $this->createMock(RemoteFunction::class);

        $normalizer->method('normalize')->willReturn($normalizedData);
        $connection->method('getFunction')->willReturn($function);
        $function->method('invoke')->with($data)->willReturn($result);

        $classUnderTest = new Client($connection, $normalizer);

        $transferStock = $classUnderTest->transferStock($data);
        self::assertSame($result, $transferStock);
    }
}

Expected behavior
The free method for destructuring self-created RemoteFunction objects does not result in a segmentation fault.

Thanks, I'll have a look in the coming days.

This should be fixed with 7a2a033 "Allow mocking RemoteFunction"


text:
yarn install shouldn't require setting cookies.keys

Describe the bug
I do a yarn install as part of my Dockerfile image building steps and cookies.keys seem to be required.
Error observed:
ode:internal/process/promises:245
          triggerUncaughtException(err, true /* fromPromise */);
          ^

Error: Invalid next-firebase-auth options: The "cookies.keys" setting must be set if "cookies.signed" is true.
    at b (/build/node_modules/next-firebase-auth/build/index.node.js:2:9873)
    at Object.init (/build/node_modules/next-firebase-auth/build/index.node.js:2:17601)
    at init (/build/node_modules/next-firebase-auth/build/index.node.js:2:27068)
    at initAuth (/build/.next/server/pages/_app.js:60:42)
    at Object.8402 (/build/.next/server/pages/_app.js:330:1)
    at __webpack_require__ (/build/.next/server/webpack-runtime.js:25:42)
    at __webpack_exec__ (/build/.next/server/pages/_app.js:536:39)
    at /build/.next/server/pages/_app.js:537:74
    at Function.__webpack_require__.X (/build/.next/server/webpack-runtime.js:108:21)
    at /build/.next/server/pages/_app.js:537:47 {
  type: 'Error'
}
error Command failed with exit code 1.

Versions
next-firebase-auth version:
Firebase JS SDK: 8
Next.js: 0.14.3-alpha.0
Expected behavior
yarn install to not require cookies.keys
Full Dockerfile:
###
# Build stage
###
FROM node:15-alpine AS builder
WORKDIR /build

COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile

COPY . .
RUN yarn build && \
    rm -rf .next/cache

###
# Exec Stage
###
FROM node:15-alpine
WORKDIR /app

COPY package.json yarn.lock ./
RUN yarn install --frozen-lockfile --production

COPY --from=builder /build/.next .next
COPY . .

CMD ["yarn", "start:production"]

The workaround is to add a temporary value for the cookie during build but unsure if that might have unintended security consequences. This is the additional step I added in the build phase of the docker image:
ENV COOKIE_SECRET_CURRENT=willbereplacedlater

I'm afraid that somehow this secret might persist somewhere in the docker image?

@samos123, I am having this same issue, but your workaround is not working for me. I think it might be because I am using typescript.
Where/how are you declaring your real environment variables?

@samos123  Had this same problem. I got around it by copying my env into the working dir
(I am using the example where the build happens in app and is run from root)
COPY --from=builder /app/.env* ./

I think yours would be closer to this:
COPY --from=builder ../build/.env* ./

(run this command AFTER)
WORKDIR /app

Thanks for the issue! @samos123 I don't see any security risks in your current workaround.
Related: #70
We can remove the build-time check here and rely on the already-existing runtime check here.
This change should merge into the v1.x branch, because the behavior is a (small) breaking change.

This workaround is not working for me. Am not sure if there is any issue with my code. Also is there any other workaround?
COPY . .
COPY --from=deps /app/node_modules ./node_modules
ENV NODE_ENV production
ENV COOKIES_SECRET_CURRENT $GITHUB_SHA
ENV COOKIES_SECRET_PREVIOUS $GITHUB_SHA
RUN npm run build

      keys: [process.env.COOKIE_SECRET_CURRENT,process.env.COOKIE_SECRET_PREVIOUS],
      httpOnly: true,
      maxAge: 12 * 60 * 60 * 24 * 1000, // twelve days
      overwrite: true,
      path: '/',
      sameSite: 'strict',
      secure: process.env.NODE_ENV === 'production', // set this to false in local (non-HTTPS) development
      signed: true,

Closed in #546.

repo: gladly-team/next-firebase-auth


text:
Summary page is slooooww

It's slow because of the 4 datatables, which load all the data when the page shows. We should change it so the table only loads what it needs. This probably needs quite a lot of work (changing views, templates, js etc).
An interim solution is to simply cache the two big features and document tables, since they shouldn't change anymore once the data is created.

Let's try the caching first....

view_parents page is also slow and can be sped up.

FIxed in commits https://github.com/glasgowcompbio/ms2ldaviz/commit/bd18d193cc8ee8932cd5dacdbf7c4a3ce9db30a6, https://github.com/glasgowcompbio/ms2ldaviz/commit/89776988259516887d000ea4eda615bf96160553, and https://github.com/glasgowcompbio/ms2ldaviz/commit/f670f3b62b48945592bfd36c9c1deac2d076ce14. These pages now load much much faster.

authors: joewandy justinjjvanderhooft


text:
When trying to run the package operator on mac air m2 by the make run command getting error saying can't find tls.crt - no such file or directory.

Describe the bug
I was working on #764 . When running the package operator on mac air m2 its returning with an error saying problem running manager	{"error": "open /var/folders/gs/6x7sqthj2wscyhddhzzdtwdw0000gn/T/k8s-webhook-server/serving-certs/tls.crt: no such file or directory"}. However, when I did the same thing in my ubuntu it worked. After going through the logs I found out that when running the make setup command its saving the certificates in the /tmp/k8s-webhook-server/serving-certs . but when using the make run command its checking for the certs in  /var/folders/gs/6x7sqthj2wscyhddhzzdtwdw0000gn/T/k8s-webhook-server/serving-certs/tls.crt and there is no directory called k8s-webhook-server in the T folder.
To Reproduce
Steps to reproduce the behavior:

You should have a mac(m2)
Follow this instruction .

Expected behavior
The operator should run successfully.
Screenshots

Cluster Info (please complete the following information):

Type:  Kubernetes
Version: 1.30
Provider: minikube

@kosmoz here is the output of the make cert

OK so that part works as expected at least

Hey there, I was able to recreate this issue. It turns out that MacOS does some user level tmp folder division which conflicts with how the tmp folder is then retrieved. The certs are actually located in the correct folder.
We found a generic solution that might be a an easy fix, will leave it here for either @kosmoz or @christophenne

@jakepage91 ok thanks for clarifying :)

Hey, thanks for checking @jakepage91!
Can you or @bishalbera check out this PR and try if it fixes the issue?
https://github.com/glasskube/glasskube/pull/1184

authors: bishalbera jakepage91 kosmoz

repo: glasskube/glasskube


text:
Client settings on glasskube repo client does not update cache

Describe the bug
When adding/updating repo URL using the repo client glasskube repo add <repoName> <repoURL> The client settings cache does not update automatically (perhaps only on reconciliation) leading to the glasskube repo list command to show a repo URL that is not actually being fetched.
@kosmoz has identified where the logic has to be added to reset repo client cache upon adding new package repositories.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
To be able to add, delete and add a new repo URL under the same repo name and to always fetch the latest configured URL.
Screenshots
If applicable, add screenshots to help explain your problem.

Cluster Info (please complete the following information):

Type: [e.g. Kubernetes, OpenShift]
Version: [e.g. 1.29]
Provider: [e.g. AWS, minikube]

Glasskube Info (please complete the following information):

Package Operator version: [e.g. v0.0.1]
CLI version: [output of glasskube --version]

Additional context
Add any other context about the problem here.

Hi, what kind of solution would be preferred here ?
A few files that, I think, are relevant to this issue are:
/internal/repo/client/clientset.go
/internal/repo/client/defaultclient.go
/api/v1alpha1/packagerepository_types.go

Hi, what kind of solution would be preferred here ? A few files that, I think, are relevant to this issue are: /internal/repo/client/clientset.go /internal/repo/client/defaultclient.go /api/v1alpha1/packagerepository_types.go

This is a tough one, but I think the defaultClient would have to remember the state of the repository it handles and then the clientset needs a method that accepts a PackageRepository that updates the client for that repo. probably, a new client should be created if any part of the spec has changed. This invalidation function must be called by the ui server, as well as the package operator if a PackageRepository update is registered.
…At least that's how I would do it.
I think this is a pretty complex task, that's why we didn't label it as "help wanted". But if you feel like you're up to the challenge and want to give it a shot, I can assign you.

Just to confirm, currently the client settings are not updated even on reconciliation?

I was taking a look at: glasskube/cmd/glasskube/cmd/repo_update.go.
Wanted to ask what is the role of PackageV1Alpha1Client ( client := cliutils.PackageClient(ctx) ), and is it related to the defautClient that currently lacks the ability to detect changes in the repo url

Just to confirm, currently the client settings are not updated even on reconciliation?

"Reconciliation" is a concept used by controllers/operators in the k8s cluster. The CLI typically doesn't reconcile. You can check out the reconciliation loop for the PackageRepository CRD in internal/controller/packagerepository_controller.go.

Wanted to ask what is the role of PackageV1Alpha1Client ( client := cliutils.PackageClient(ctx) ), and is it related to the defautClient that currently lacks the ability to detect changes in the repo url

No, the two are unrelated. PackageV1Alpha1Client is a wrapper around the k8s api for all Glasskube CRDs. This issue is about the client that exposes the Glasskube repository to application code (see internal/repo)


text:
Support for UTF-8 characters

With this change the lib is able to send messages to SQS with UTF-8 characters

Thanks for the fix.

authors: artefactop ransomr

repo: gleber/erlcloud


text:
🛑 Sainte-Luce is down

In 84fec1e, Sainte-Luce (https://www.sainteluce.fr) was down:

HTTP code: 503
Response time: 1225 ms

Resolved: Sainte-Luce is back up in affd828.

repo: glefait/martinique-public-websites


text:
🛑 Schoelcher is down

In 0a65206, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 0743f2d after 5 minutes.


text:
🛑 Saint-Pierre is down

In c696acf, Saint-Pierre (https://saintpierre-mq.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Saint-Pierre is back up in dae9199 after 9 minutes.


text:
🛑 Saint-Pierre is down

In 19979d4, Saint-Pierre (https://saintpierre-mq.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Saint-Pierre is back up in 2bcd04d after 27 minutes.


text:
🛑 Le Lamentin is down

In 6c2d7d8, Le Lamentin (http://www.mairie-lelamentin.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Le Lamentin is back up in 4775399.


text:
🛑 Schoelcher is down

In 8689041, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in aaf5fb9.


text:
🛑 Trois-Ilets is down

In e39b3ed, Trois-Ilets (https://villedestroisilets.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Trois-Ilets is back up in 393d08a.


text:
🛑 Schoelcher is down

In 93c5501, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 25a5ec2.


text:
🛑 Schoelcher is down

In 5f761e9, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 1ce8db1.


text:
🛑 Schoelcher is down

In abd29b7, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in dc2811b.


text:
🛑 Schoelcher is down

In c97e18c, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 62e845f.


text:
🛑 Schoelcher is down

In 9b4c3c9, Schoelcher (https://www.mairie-schoelcher.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Schoelcher is back up in 06d3174.


text:
🛑 Comite Martiniquais du tourisme is down

In 609d26a, Comite Martiniquais du tourisme (https://www.martinique.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Comite Martiniquais du tourisme is back up in f96fd85.