Skip to content

Commit

Permalink
Merge pull request #15 from nation3/12-profile_id
Browse files Browse the repository at this point in the history
Use profile_id instead of user_id #12
  • Loading branch information
aahna-ashina authored Dec 19, 2023
2 parents 0ad5acc + 7af0164 commit 7b7561d
Show file tree
Hide file tree
Showing 29 changed files with 514 additions and 545 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/fetch-coordinape-data-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
- name: Install Node.js Packages 🔧
run: npm install

# Fetch Coordinape users and store them in a CSV file 🧮
- run: node fetch-users.js
# Fetch Coordinape profiles and store them in a CSV file 🧮
- run: node fetch-profiles.js

# Fetch Coordinape contributions and store them in a CSV file 🧮
- run: node fetch-contributions.js
Expand All @@ -43,7 +43,7 @@ jobs:
run: |
git config user.name 'NationCred bot'
git config user.email '[email protected]'
git add coordinape-users.csv
git add coordinape-profiles.csv
git add coordinape-contributions.csv
git commit --allow-empty -m '🧙 development guild - fetch coordinape contributions'
Expand Down Expand Up @@ -74,8 +74,8 @@ jobs:
- name: Install Node.js Packages 🔧
run: npm install

# Fetch Coordinape users and store them in a CSV file 🧮
- run: node fetch-users.js
# Fetch Coordinape profiles and store them in a CSV file 🧮
- run: node fetch-profiles.js

# Fetch Coordinape contributions and store them in a CSV file 🧮
- run: node fetch-contributions.js
Expand All @@ -84,7 +84,7 @@ jobs:
run: |
git config user.name 'NationCred bot'
git config user.email '[email protected]'
git add coordinape-users.csv
git add coordinape-profiles.csv
git add coordinape-contributions.csv
git commit --allow-empty -m '⚙️ ops guild - fetch coordinape contributions'
Expand Down Expand Up @@ -115,8 +115,8 @@ jobs:
- name: Install Node.js Packages 🔧
run: npm install

# Fetch Coordinape users and store them in a CSV file 🧮
- run: node fetch-users.js
# Fetch Coordinape profiles and store them in a CSV file 🧮
- run: node fetch-profiles.js

# Fetch Coordinape contributions and store them in a CSV file 🧮
- run: node fetch-contributions.js
Expand All @@ -125,7 +125,7 @@ jobs:
run: |
git config user.name 'NationCred bot'
git config user.email '[email protected]'
git add coordinape-users.csv
git add coordinape-profiles.csv
git add coordinape-contributions.csv
git commit --allow-empty -m '🎥 marketing guild - fetch coordinape contributions'
Expand Down Expand Up @@ -156,8 +156,8 @@ jobs:
- name: Install Node.js Packages 🔧
run: npm install

# Fetch Coordinape users and store them in a CSV file 🧮
- run: node fetch-users.js
# Fetch Coordinape profiles and store them in a CSV file 🧮
- run: node fetch-profiles.js

# Fetch Coordinape contributions and store them in a CSV file 🧮
- run: node fetch-contributions.js
Expand All @@ -166,7 +166,7 @@ jobs:
run: |
git config user.name 'NationCred bot'
git config user.email '[email protected]'
git add coordinape-users.csv
git add coordinape-profiles.csv
git add coordinape-contributions.csv
git commit --allow-empty -m '🌳 ecoride network - fetch coordinape contributions'
Expand Down
46 changes: 23 additions & 23 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ software and other kinds of works.
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
software for all its profiles. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
Expand Down Expand Up @@ -42,21 +42,21 @@ know their rights.
giving you legal permission to copy, distribute and/or modify it.

For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
that there is no warranty for this free software. For both profiles' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.

Some devices are designed to deny users access to install or run
Some devices are designed to deny profiles access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
protecting profiles' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
of the GPL, as needed to protect the freedom of profiles.

Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
Expand Down Expand Up @@ -97,16 +97,16 @@ distribution (with or without modification), making available to the
public, and in some countries other activities as well.

To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
parties to make or receive copies. Mere interaction with a profile through
a computer network, with no transfer of a copy, is not conveying.

An interactive user interface displays "Appropriate Legal Notices"
An interactive profile interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
tells the profile that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
the interface presents a list of profile commands or options, such as a
menu, a prominent item in the list meets this criterion.

1. Source Code.
Expand Down Expand Up @@ -144,7 +144,7 @@ linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.

The Corresponding Source need not include anything that users
The Corresponding Source need not include anything that profiles
can regenerate automatically from other parts of the Corresponding
Source.

Expand Down Expand Up @@ -176,7 +176,7 @@ your copyrighted material outside their relationship with you.
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.

3. Protecting Users' Legal Rights From Anti-Circumvention Law.
3. Protecting Profiles' Legal Rights From Anti-Circumvention Law.

No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
Expand All @@ -189,7 +189,7 @@ circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
profiles, your or third parties' legal rights to forbid circumvention of
technological measures.

4. Conveying Verbatim Copies.
Expand Down Expand Up @@ -227,7 +227,7 @@ terms of section 4, provided that you also meet all of these conditions:
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.

d) If the work has interactive user interfaces, each must display
d) If the work has interactive profile interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
Expand All @@ -237,7 +237,7 @@ works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
used to limit the access or legal rights of the compilation's profiles
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
Expand Down Expand Up @@ -294,42 +294,42 @@ in one of these ways:
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.

A "User Product" is either (1) a "consumer product", which means any
A "Profile Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
product received by a particular profile, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
of the particular profile or of the way in which the particular profile
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.

"Installation Information" for a User Product means any methods,
"Installation Information" for a Profile Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
and execute modified versions of a covered work in that Profile Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.

If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
specifically for use in, a Profile Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
Profile Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
modified object code on the Profile Product (for example, the work has
been installed in ROM).

The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
the Profile Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
{
"22071": {
"coordinape_user_id": 22071,
"77877": {
"coordinape_profile_id": 77877,
"citizen_passport_id": 233,
"citizen_owner_address": "0x4e3072f7b5C075EA5FdEb423DA95312C4B99dc22"
},
"24519": {
"coordinape_user_id": 24519,
"80204": {
"coordinape_profile_id": 80204,
"citizen_passport_id": 172,
"citizen_owner_address": "0xEdd000B7Db3cb8931d4E0cb1D0DBe6B947Ceb09A"
},
"33664": {
"coordinape_user_id": 33664,
"citizen_passport_id": 171,
"citizen_owner_address": "0x47d80912400ef8f8224531EBEB1ce8f2ACf4b75a"
},
"162955": {
"coordinape_user_id": 162955,
"229591": {
"coordinape_profile_id": 229591,
"citizen_passport_id": 280,
"citizen_owner_address": "0x11665eD41eDf88926A01eBFfcBa813218Aa6723b"
},
"162971": {
"coordinape_user_id": 162971,
"237874": {
"coordinape_profile_id": 237874,
"citizen_passport_id": 171,
"citizen_owner_address": "0x47d80912400ef8f8224531EBEB1ce8f2ACf4b75a"
},
"3780245": {
"coordinape_profile_id": 3780245,
"citizen_passport_id": 272,
"citizen_owner_address": "0x39245d4cEf276e857EF2633F73707189052F00Af"
},
"164343": {
"coordinape_user_id": 164343,
"3893302": {
"coordinape_profile_id": 3893302,
"citizen_passport_id": 282,
"citizen_owner_address": "0x742E42c62843515d0608a8e6f70176584e7017D3"
}
Expand Down
6 changes: 3 additions & 3 deletions development-guild/contributions/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Coordinape Contributions - 🧙 Development Guild

## Coordinape Users
## Coordinape Profiles

Fetch Coordinape users and store them in a CSV file, [coordinape-users.csv](coordinape-users.csv).
Fetch Coordinape profiles and store them in a CSV file, [coordinape-profiles.csv](coordinape-profiles.csv).

```
cd development-guild/contributions/
npm install
node fetch-users.js
node fetch-profiles.js
```

## Coordinape Contributions
Expand Down
Loading

0 comments on commit 7b7561d

Please sign in to comment.