by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 22:20
    niranjan94 commented #7108
  • 22:20
    niranjan94 commented #7108
  • 21:29
    codecov[bot] commented #7111
  • 21:29
    codecov[bot] commented #7111
  • 21:27
    codecov[bot] commented #7111
  • 21:27
    codecov[bot] commented #7111
  • 21:26
    codecov[bot] commented #7110
  • 21:26
    codecov[bot] commented #7110
  • 21:26
    codecov[bot] commented #7110
  • 21:25
    codecov[bot] commented #7111
  • 21:25
    codecov[bot] commented #7111
  • 21:24
    codecov[bot] commented #7110
  • 21:24
    codecov[bot] commented #7110
  • 21:23
    codecov[bot] commented #7110
  • 21:13
    dependabot-preview[bot] labeled #7111
  • 21:13
    dependabot-preview[bot] opened #7111
  • 21:13

    dependabot-preview[bot] on pip

    chore(deps): bump sentry-sdk[fl… (compare)

  • 21:13
    dependabot-preview[bot] labeled #7110
  • 21:13
    dependabot-preview[bot] opened #7110
  • 21:13

    dependabot-preview[bot] on pip

    chore(deps): bump python-dotenv… (compare)

vishalofficial965
@vishalofficial965
do i need to manually create directory name :env.example?
Areeb Jamal
@iamareebjamal
Are you in the correct directory
vishalofficial965
@vishalofficial965
i am in directory where open-event-server folder is created on its own,when i cloned repo
where do i need to be,for creating application environment variables
?
Areeb Jamal
@iamareebjamal
In the repository
vishalofficial965
@vishalofficial965
you mean the directory containing .py files and README etc?
Areeb Jamal
@iamareebjamal
Yes, of course
vishalofficial965
@vishalofficial965

yes done,now i am generating random no.s by that lil python snippet,but it says-

EOL while scanning string literal

can i write random string on my own and put it in SECRET_KEY={{ }}
?
Areeb Jamal
@iamareebjamal
yes
vishalofficial965
@vishalofficial965
ok i am trying
vishalofficial965
@vishalofficial965
sir,i didnt understand Step 5:Create table
i restarted postgres service from services.msc,now how to create table and where?
Areeb Jamal
@iamareebjamal
It's written in the guide
services.msc != WSL
vishalofficial965
@vishalofficial965
OH,then how to restart postgres service from WSL command prompt?
Areeb Jamal
@iamareebjamal
Read the guide
vishalofficial965
@vishalofficial965
okay
Jens
@jeans

First step is done, we've added a Helm chart and submitted as PR fossasia/open-event-server#6904
Next step is content import from our event content provider. The JSON looks like this:

{"event_type":"GENERAL","event_id":"2854667","event_description":"Beethoven zu Gast in Düren! Der Beethoven Orbit 2020 macht am 27. April um 19.00 Uhr Halt in der ev. Christuskirche. Zusammen mit dem blahblah.","date":[{"date_end":1588019400000,"date_id":"53655339","date_start":1588008600000,"venue_allocation":"Evangelische Gemeinde zu Düren / Christuskirche","venue":{"venue_country_symbol":"D","venue_id":"180084","venue_town":"Düren","venue_postcode":"52349","venue_state":"Nordrhein-Westfalen"}}],"event_identifier":""Klangraum Düren" - Orbit 1.3","first_date_end":1588019400000,"event_edition":["Print","Mobile","Online"],"last_date_start":1588008600000,"event_released":"1","category_combi":{"category1":"Konzerte","category2":"Klassik"},"last_date_end":1588019400000,"first_date_start":1588008600000,"date_count":1,"event_priority":"C - lokal"}, {"event_type":"GENERAL","event_id":"2876535","event_description": etc.

We can search on the content provider API e.g. by citynames, like with a search_string_address=Berlin, and we want to do this for 20 cities. Can you give us a hint on how to do this "the OES way" and get the content into https://api.eventyay.com/#event-import ?

I found two blog posts on this matter, https://blog.fossasia.org/create-event-by-importing-json-files-in-open-event-server/ and https://blog.fossasia.org/automatic-imports-of-events-to-open-event-from-online-event-sites-with-query-server-and-event-collect/ . Is this still a valid process with V2? Any hint is appreciated.

Areeb Jamal
@iamareebjamal
Hi, if the data is not of standard format, then the best option is to transform the JSON to OE format - https://api.eventyay.com/#events-events-collection-post and send a POST request to /v1/events
Jens
@jeans
Thanks, @iamareebjamal but isn't https://github.com/fossasia/event-collect doing exactly that? It scrapes an event website listing or some XML, converts it to OES JSON and posts it to Open Event Server API?
Areeb Jamal
@iamareebjamal
Unfortunately it is very outdated and we had a rewite of API v2 after the last commit of the repo, so it doesn't seem like it would work
Jens
@jeans
Ah, ok, I got it: https://github.com/fossasia/event-collect uses Loklak for scraping, indexing and converting data into structured/standard JSON that can be processed by OES (https://github.com/loklak/loklak_server/tree/development/src/org/loklak/api/search). It looks a bit inactive indeed, so we better use a project like scrapy.org or a small flask app. How do you get events into eventyay, everything manually through the web UI?
Areeb Jamal
@iamareebjamal
Areeb Jamal
@iamareebjamal
Unit tests which used to take 5-10 minutes, now take 50 seconds. Even on local. And 25 minute build time is reduced to 5 minutes.
Mario Behling
@mariobehling
Amazing! @iamareebjamal We should tweet these kind of news with a link to a PR (if any).
Suneet Srivastava
@codedsun
:+1:
Mario Behling
@mariobehling
@iamareebjamal I just gave you access to tweet from eventyay through https://tweetdeck.twitter.com
Areeb Jamal
@iamareebjamal
Thanks, will tweet with relevant PRs
Mario Behling
@mariobehling
:smile:
Suneet Srivastava
@codedsun
Also we achieved 7k+ commits on this repository.. :beers: :smile:
Prateek Jain
@prateekj117
@iamareebjamal I see deepsource allows a default line length of 88, while Hound checks for line length to be 90. Should I open an issue to change the line length to 90 in deepsource config?
Also, this is ready for review. fossasia/open-event-server#6720
Areeb Jamal
@iamareebjamal
Yes
Mario Behling
@mariobehling
Hello, our weekly Open Event/Eventyay meeting is starting now: https://meet.jit.si/eventyay
Mario Behling
@mariobehling
Hello, our weekly Open Event/Eventyay meeting is starting now: https://meet.jit.si/eventyay
Mario Behling
@mariobehling
Open Event / Eventyay weekly meeting starting now https://meet.jit.si/eventyay
Sadiquedeveloper
@Sadiquedeveloper
ERROR: Cannot set the value of read-only property 'classDirectories' for task ':app:testFdroidDebugUnitTestCoverage' of type org.gradle.testing.jacoco.tasks.JacocoReport.
How to solved this error
Areeb Jamal
@iamareebjamal
When does it happen?
You must be using Android Studio 4
Use version 3
devrajmaker
@devrajmaker
kk
Sadiquedeveloper
@Sadiquedeveloper
Ok sir
Ranjit1312
@Ranjit1312
@imrahul361
Hey I am New to opensource
Can anyone help me how can I make my place in the open source community ?
Mario Behling
@mariobehling
@/all Open Event/Eventyay weekly meeting starting in 10 minutes https://meet.jit.si/eventyay
Hong Phuc Dang
@hpdang