-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
As a Gitcoin contributor, I want better and updated data fixtures, so that QAing my changes and getting started is easier. #4292
Comments
Issue Status: 1. Open 2. Started 3. Submitted 4. Done This issue now has a funding of 1.2 ETH (187.8 USD @ $156.5/ETH) attached to it.
|
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Workers have applied to start work. These users each claimed they can complete the work by 12 months from now. 1) speedyfixer has applied to start work (Funders only: approve worker | reject worker). Mi roadmap:
I could start on next Thursday. Learn more on the Gitcoin Issue Details page. |
@gutsal-arsen -- hey @danlipert did this bounty not me! |
Also this kind of depends on what @danlipert wants - the test system usually is bound to the Rinkeby test net. What we could do is that we use the already delivered geth localnet, deploy our contracts there and sync couple of older "live" bounties there and pack it up. |
Is this still an open bounty? I'd like to work on it if so as it was a pain point for me when working on another PR and would love to take a stab at resolving. :-) @danlipert, any input what direction you are looking to take regarding where test data/contracts should live (localnet vs rinkeby) given @kuhnchris's comment? |
Hi @acolytec3 - I'd love for you to work on this bounty, I just sent you an invite via email as well. And yes, lets put all the blockchain data on rinkeby please 👍 |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work has been started. These users each claimed they can complete the work by 4 months from now. 1) acolytec3 has been approved to start work.
Learn more on the Gitcoin Issue Details page. |
Hey @danlipert - great, thanks for the info! If you got any indepth questions let us know in here. :-) Thanks, |
Thanks! I'm starting to delve into the details today.
My intent for starters is just start constructing test data for each of the
major areas of the site and then filling in specific use cases as I
navigate around the site.
Starting with:
* Users - I'm starting here since it's probably the easiest since it's all
local data. Have ~10 test user profiles set up so far. Do you have an
instinct on how many different profiles you'd like to see overall? Does
this feel about right?
* Bounties - Question on bounties, I'm thinking I'll use a single test
wallet to fund the ones that I'm creating on rinkeby. I was going to
reassign the bounty owner to different profiles once they're all set up and
in various conditions. Does that sound like the right approach? When it's
all said and done, the funder address will be the same across all of them
though I'm happy to create a few more just so the addresses sync up if
someone runs the geth_sync protocol if that approach is preferred.
* Kudos/Grants - I haven't gone too far into this one yet but there doesn't
seem to be an obvious way to mimic the production experience on rinkeby for
setting these up. The "start a grant" link in my dev environment takes me
to the actual gitcion grant funding form which doesn't feel like the right
place so my instinct says I'm going to have to interact directly with the
rinkeby equivalent contracts (using MEW or something similar) to get test
versions of these that link up with rinkeby right? I know I can create
local database records for them but haven't had a chance to dig into the
contract code to figure out how to create rinkeby equivalent versions of
each.
…On Sat, May 25, 2019, 4:36 AM KuhnChris ***@***.***> wrote:
Hey @danlipert <https://github.com/danlipert> - great, thanks for the
info!
@acolytec3 <https://github.com/acolytec3> - most of the stuff should be
syncable via opensea/rinkeby (kudos, bounties), the contracts should be
available in the settings.py for rinkeby, if you are done, the easiest
would prolly be to dump the data via django dumpdata and django loaddata as
you mentioned (https://docs.djangoproject.com/en/2.2/howto/initial-data/),
that can easily be integrated into the docker process, where we already do
the provisioning.
If you got any indepth questions let us know in here. :-)
Thanks,
Chris
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4292?email_source=notifications&email_token=AEENFXCDXU7776A3LVIP7LDPXD3A3A5CNFSM4HIWRSZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWHKH7I#issuecomment-495887357>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEENFXBL5YGHXG7QOCUYWOTPXD3A3ANCNFSM4HIWRSZQ>
.
|
Regarding your Kudos/Grants - if you are just seeing the "signing up form" then you are missing the permission in the backend to create grants - this may be a legacy issue due to them joining later.from there you can create grants via the grant-creation modal within the gitcoin app. hope that helps, else let me know in slack/here! |
@acolytec3 I'd like to see more users, maybe 20 or more so that we can test the user directory pagination effectively, along with applying filters, etc. For bounties, lets have at least two different accounts with two different addresses funding them. For kudos and grants, you just need to be a superuser to access those pages directly. |
Thanks! I've got users set up in a local environment with profiles so will
work on the other items tomorrow. Will try to get a first pass at the
complete set of fixtures by the weekend.
…On Wed, May 29, 2019, 6:10 AM Dan Lipert ***@***.***> wrote:
@acolytec3 <https://github.com/acolytec3> I'd like to see more users,
maybe 20 or more so that we can test the user directory pagination
effectively, along with applying filters, etc. For bounties, lets have at
least two different accounts with two different addresses funding them. For
kudos and grants, you just need to be a superuser to access those pages
directly.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4292?email_source=notifications&email_token=AEENFXAN5CNUXYIF2E5T5D3PXZJABA5CNFSM4HIWRSZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWO3GBA#issuecomment-496874244>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEENFXC3PX2GHZKVJ5AAPD3PXZJABANCNFSM4HIWRSZQ>
.
|
Just to confirm I am still working on this. I've got fixtures for grants and then basic user profiles that seem to load consistently across a DB refresh but getting bounty activity to stay in sync is proving tricky. Since only certain parts of the process get stored on Rinkeby, things tend to get out of sync when I refresh. I'll get a WIP PR up today or tomorrow with the fixtures that seem to work reliably. |
@acolytec3 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
@acolytec3 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
@gitcoinbot, I did, see PR #4601. |
@acolytec3 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
@danlipert Why is the bot spamming this thread? Do I need to submit work on the issue on gitcoin to get it to shut up? I still need to clean up some of the fixtures and probably add a few more bounties before I think it's really done. |
it will follow up every few days when it doesnt see action on the github issue or PR. can set it to snooze if it's annoying. |
No, it's fine. I just thought I had missed a step somewhere. I am really
hoping to get the PR finished up in the next few days. Off-line life just
keeps getting in the way.
…On Mon, Jun 24, 2019, 12:32 PM Kevin Owocki ***@***.***> wrote:
it will follow up every few days when it doesnt see action on the github
issue or PR. can set it to snooze if it's annoying.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4292?email_source=notifications&email_token=AEENFXE5RYZLLCMCALL6O2LP4DZIZA5CNFSM4HIWRSZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYNPVTA#issuecomment-505084620>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEENFXEXGBSPP4FLT3QA4XTP4DZIZANCNFSM4HIWRSZQ>
.
|
@acolytec3 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days |
Issue Status: 1. Open 2. Started 3. Submitted 4. Done Work for 1.2 ETH (366.32 USD @ $305.26/ETH) has been submitted by: @danlipert please take a look at the submitted work:
|
* First pass at required data - no kudos * Fixes #4292 * Data round 2 * More fixtures * Add initial kudos data * Add profiles, tips, and custom avatars. * Clean up junk fixtures and add usage guidelines * Add more kudos/feedback * Add DAI * New users//bounties/feedback * More bounties * Fixes #4292 * Fix broken grant data * Fix grant issues * Load profiles data! * Data loading tweaks * One more tweak for grants * Add additional grant subscription. * Additional grants data * Skip updated_avatar activity if loading from fixture
|
⚡️ A tip worth 0.24000 ETH (31.54 USD @ $131.41/ETH) has been granted to @acolytec3 for this issue from @danlipert. ⚡️ Nice work @acolytec3! Your tip has automatically been deposited in the ETH address we have on file.
|
Issue Status: 1. Open 2. Started 3. Submitted 4. Done The funding of 1.2 ETH (152.37 USD @ $126.97/ETH) attached to this issue has been approved & issued to @acolytec3. Additional Tips for this Bounty:
|
User Story
As a Gitcoin contributor, I want better and updated data fixtures, so that QAing my changes and getting started is easier.
Why Is this Needed
There are currently some fixtures which help bootstrap the process of creating test data when running Gitcoin locally. These fixtures are automatically added when you run Gitcoin via docker, and include things like creating users and adding tokens. Adding fixtures to include newer features like Grants, and updating the current fixtures will make developers' lives easier.
More info: https://docs.djangoproject.com/en/2.2/howto/initial-data/
Description
Type: Feature
Current Behavior
Booting the Gitcoin app via docker for the first time adds some initial data.
Expected Behavior
Booting the Gitcoin app via docker should add more data to cover the new features that have been integrated into the app.
Definition of Done
Additional fixtures are present when booting the app for the first time. Every feature in the app contains a variety of data on a fresh build, including Bounties. For each feature, there should be different model instances that demonstrate the variations of models we see in the production app. For example: in Grants, there should be grants that are set to various funding levels, which grant contributions already in place from various test users. For Bounties, there should be a combination of both public and private bounties, a demonstration Hackathon event set up, etc. For users, there should be a variety of test users already set up that have initiated various activities, such as applying to work on bounties, setting up their profile, sending Kudos, etc. These are just examples and are in no way comprehensive. All test data should be on the Rinkeby testnet if applicable.
Data Requirements
The success of the new fixture data can be measured in how many more community contributions we receive, as well as decreasing the amount of bugs in PRs and deploy regressions.
The text was updated successfully, but these errors were encountered: