Skip to content

Commit 2fee129

Browse files
authored
V2 (#43)
This pull request includes a comprehensive update to the repository, involving additions, deletions, and modifications across various files and directories. The changes aim to enhance the project's structure, documentation, and functionality. The list of counties and cities has been separated. Districts and rural areas have been added, and everything has been updated according to the latest official changes up to the end of 1402 SH. The project structure has been updated to improve development speed after 6 years.
1 parent 7952138 commit 2fee129

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+1441139
-15144
lines changed

.github/workflows/stale.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,20 @@ name: Mark stale issues and pull requests
77

88
on:
99
schedule:
10-
- cron: '38 8 * * *'
10+
- cron: "38 8 * * *"
1111

1212
jobs:
1313
stale:
14-
1514
runs-on: ubuntu-latest
1615
permissions:
1716
issues: write
1817
pull-requests: write
1918

2019
steps:
21-
- uses: actions/stale@v5
22-
with:
23-
repo-token: ${{ secrets.GITHUB_TOKEN }}
24-
stale-issue-message: 'Stale issue message'
25-
stale-pr-message: 'Stale pull request message'
26-
stale-issue-label: 'no-issue-activity'
27-
stale-pr-label: 'no-pr-activity'
20+
- uses: actions/stale@v5
21+
with:
22+
repo-token: ${{ secrets.GITHUB_TOKEN }}
23+
stale-issue-message: "Stale issue message"
24+
stale-pr-message: "Stale pull request message"
25+
stale-issue-label: "no-issue-activity"
26+
stale-pr-label: "no-pr-activity"

CONTRIBUTING.md

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# راهنمای مشارکت در پروژه
2+
3+
از مشارکت شما در این پروژه صمیمانه استقبال می‌کنیم. لطفاً پیش از ارسال هرگونه درخواست تغییر، این راهنما را با دقت مطالعه کنید تا با فرآیند استاندارد مشارکت آشنا شوید.
4+
5+
## نحوه مشارکت
6+
7+
1. **فورک کردن مخزن اصلی**
8+
ابتدا مخزن اصلی را فورک کنید تا یک نسخهی کپی‌شده از آن در حساب کاربری شما ایجاد شود.
9+
10+
2. **ایجاد شاخهی مجزا برای تغییرات**
11+
در مخزن فورک‌شده، یک شاخهی جدید برای تغییرات خود ایجاد کنید:
12+
13+
```bash
14+
git checkout -b feature/YourFeatureName
15+
```
16+
17+
3. **اعمال تغییرات موردنظر**
18+
کد خود را مطابق با استانداردهای پروژه و به صورت تمیز و خوانا تغییر دهید.
19+
20+
4. **بررسی و کامیت تغییرات**
21+
پس از اعمال تغییرات، آن‌ها را بررسی کرده و با پیامی واضح و دقیق کامیت کنید:
22+
23+
```bash
24+
git commit -m "Add: [شرح مختصر تغییر انجام‌شده]"
25+
```
26+
27+
5. **پوش کردن به مخزن فورک‌شده**
28+
تغییرات خود را به شاخهی ایجادشده در مخزن فورک‌شده پوش کنید:
29+
30+
```bash
31+
git push origin feature/YourFeatureName
32+
```
33+
34+
6. **ایجاد Pull Request (PR)**
35+
در گیت‌هاب، از شاخهی خود یک Pull Request به شاخهی اصلی مخزن پروژه ایجاد کرده و در توضیحات آن، هدف و جزئیات تغییرات را بنویسید.
36+
37+
## قوانین و الزامات مشارکت
38+
39+
- کد شما باید مطابق با الگوی کدنویسی تعریف‌شده در پروژه باشد.
40+
- قبل از ارسال Pull Request اطمینان حاصل کنید که همهی تست‌ها با موفقیت پس شده‌اند.
41+
- پیام‌های کامیت باید روشن، مختصر و منطقی باشند.
42+
- از ایجاد تغییرات نامرتبط با موضوع شاخه خودداری کنید.
43+
- در صورت نیاز، مستندات مرتبط با تغییرات خود را به‌روزرسانی نمایید.
44+
45+
## گزارش مشکلات (Issues)
46+
47+
در صورت مواجهه با باگ، نقص عملکرد یا پیشنهاد ویژگی جدید، لطفاً یک Issue جدید باز کرده و شرح دقیقی از مشکل یا پیشنهاد ارائه دهید. درج مراحل بازتولید مشکل (در صورت وجود) کمک بزرگی به رفع سریع‌تر آن خواهد کرد.
48+
49+
---
50+
51+
## Contribution Guidelines
52+
53+
We sincerely welcome your contributions to this project. Before submitting any changes, please carefully read this guide to understand the standard contribution process.
54+
55+
## How to Contribute
56+
57+
1. **Fork the main repository**
58+
Start by forking the main repository to create a copy under your own GitHub account.
59+
60+
2. **Create a dedicated branch for your changes**
61+
In your forked repository, create a new branch specifically for your changes:
62+
63+
```bash
64+
git checkout -b feature/YourFeatureName
65+
```
66+
67+
3. **Apply your intended changes**
68+
Modify the code according to the project's standards, keeping it clean and readable.
69+
70+
4. **Review and commit changes**
71+
After making your changes, review them and commit with a clear and meaningful message:
72+
73+
```bash
74+
git commit -m "Add: [Short description of the changes made]"
75+
```
76+
77+
5. **Push to the forked repository**
78+
Push your changes to the newly created branch in your forked repository:
79+
80+
```bash
81+
git push origin feature/YourFeatureName
82+
```
83+
84+
6. **Create a Pull Request (PR)**
85+
On GitHub, open a Pull Request from your branch to the main branch of the project repository. Clearly describe the purpose and details of your changes.
86+
87+
## Contribution Rules and Requirements
88+
89+
- Ensure that your code follows the project's coding conventions and style.
90+
- Make sure all tests pass successfully before submitting a Pull Request.
91+
- Commit messages must be

LICENSE

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
GNU GENERAL PUBLIC LICENSE
22
Version 3, 29 June 2007
33

4-
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
4+
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
55
Everyone is permitted to copy and distribute verbatim copies
66
of this license document, but changing it is not allowed.
77

@@ -645,30 +645,30 @@ the "copyright" line and a pointer to where the full notice is found.
645645
GNU General Public License for more details.
646646

647647
You should have received a copy of the GNU General Public License
648-
along with this program. If not, see <http://www.gnu.org/licenses/>.
648+
along with this program. If not, see <https://www.gnu.org/licenses/>.
649649

650650
Also add information on how to contact you by electronic and paper mail.
651651

652652
If the program does terminal interaction, make it output a short
653653
notice like this when it starts in an interactive mode:
654654

655-
<program> Copyright (C) <year> <name of author>
655+
List of cities in Iran Copyright (C) 2025 Sajad Dehshiri (sajaddp)
656656
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657657
This is free software, and you are welcome to redistribute it
658658
under certain conditions; type `show c' for details.
659659

660-
The hypothetical commands `show w' and `show c' should show the appropriate
660+
The hypothetical commands `show w' and`show c' should show the appropriate
661661
parts of the General Public License. Of course, your program's commands
662662
might be different; for a GUI interface, you would use an "about box".
663663

664664
You should also get your employer (if you work as a programmer) or school,
665665
if any, to sign a "copyright disclaimer" for the program, if necessary.
666666
For more information on this, and how to apply and follow the GNU GPL, see
667-
<http://www.gnu.org/licenses/>.
667+
<https://www.gnu.org/licenses/>.
668668

669669
The GNU General Public License does not permit incorporating your program
670670
into proprietary programs. If your program is a subroutine library, you
671671
may consider it more useful to permit linking proprietary applications with
672672
the library. If this is what you want to do, use the GNU Lesser General
673673
Public License instead of this License. But first, please read
674-
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
674+
<https://www.gnu.org/licenses/why-not-lgpl.html>.

0 commit comments

Comments
 (0)