Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update projects from GitHub API #28

Open
ahmetbcakici opened this issue Jan 7, 2021 · 2 comments
Open

Update projects from GitHub API #28

ahmetbcakici opened this issue Jan 7, 2021 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed mid level

Comments

@ahmetbcakici
Copy link
Collaborator

Platformda ekli olan projelere her girildiğinde veri tabanındaki Last Update Date alanı 24 saatten önce bir tarih ise GitHub API'dan tekrar çekip veri tabanımızdaki proje dökümanını güncelleyip sonrasında gösterme

@ahmetbcakici ahmetbcakici added enhancement New feature or request help wanted Extra attention is needed mid level labels Jan 7, 2021
@muraterzioglu
Copy link

Bunun için bir tane fonksiyon yazsak back-end'te 12 saatte bir dönücek ve her döndüğünde güncellenmemişleri güncelliycek? ne dersiniz? @ahmetbcakici @altaysimsek

@muraterzioglu
Copy link

muraterzioglu commented Jan 28, 2021

{
  repoName: "RepoAdı",
  repoAuthor: "YazarAdı",
  repoPath: "repopath",
  issues: [ ... ],
  contributors : [ ... ],
  lastUpdate: "HH-MM",
}

Her 12 saatte dönüceği için lastUpdate'e 12 saat eklendiğinde o anki saatten azsa bir şey yapmıycak ama eğer alast update 12 saati geçtiyse hem projeyi update edicek hem de lastUpdate'i güncelleyecek

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed mid level
Projects
None yet
Development

No branches or pull requests

2 participants