Skip to content

includes/total.css is empty and should be removed along with all references to it #1151

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

Closed
3 of 7 tasks
TimidRobot opened this issue Aug 24, 2020 · 9 comments · Fixed by cc-archive/new-creativecommons.org#51
Assignees
Labels
💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix good first issue New-contributor friendly help wanted Open to participation from the community 🟩 priority: low Low priority and doesn't need to be rushed

Comments

@TimidRobot
Copy link
Member

TimidRobot commented Aug 24, 2020

Description

includes/total.css is empty and should be removed along with all references to it

Reproduction

Expectation

Remove include lines:

  • creativecommons/creativecommons.org: docroot/includes/deed3.css: Lines 2-4
  • creativecommons/creativecommons.org: docroot/includes/legalcode.css: Lines 2-4
  • creativecommons/new-creativecommons.org: docroot/includes/deed3.css: Lines 2-4
  • creativecommons/new-creativecommons.org: docroot/includes/legalcode.css: Lines 2-4

Remove files:

Additional context

The include lines were found with:

sudo find /var/www -type f \( -name '*.*css' -o -name '*.htm*' -o -name '*.ph*' \) -exec fgrep total.css {} +

Resolution

  • I would be interested in resolving this bug.
@TimidRobot TimidRobot added bug good first issue New-contributor friendly help wanted Open to participation from the community labels Aug 24, 2020
@madhhuurrii
Copy link

Hii , can u please guide me in solving this issue as i am a beginner @TimidRobot

@avats-dev
Copy link

Hi @madhhuurrii , welcome to the CC community. Thanks for showing your interest. 👍


Now, as @TimidRobot has mentioned above that includes/total.css is empty, there is no point of keeping the file then. And it has been referenced also in some files, and those are also needed to be removed. So, a possible workflow could be to:

  • basic setup

    • fork the repo and this one too.
    • clone your forks
    • (optional) add the original repo as upstream remote, but this is not needed
    • create a new branch of your clones for this task
  • now, coming back to the issue

    • Be careful while working locally, as there are two different repos involved here.
    • Go to the links in Remove include lines under EXPECTATION above
    • You'll see some lines highlighted in yellow
    • remove them and leave everything else as it is(IMPORTANT)
    • do this for all the 4 references mentioned in the issue
    • after done with this, remove the 2 files mentioned in Remove files under EXPECTATION above
    • after you've done all this, you can check with
      sudo find /var/www -type f \( -name '*.*css' -o -name '*.htm*' -o -name '*.ph*' \) -exec fgrep total.css {} +
      this should show 0 results, however you can avoid this step if you're not using linux or not familiar with terminal
    • commit your changes to the new branches you've created for this
    • push your changes to your origin(default) remote, and open a PR 🎉
    • while opening the PR, clearly fill the details so that it links back to the issue.
    • DONE, now lookout for the reviews and suggestions on PR. If everything would be good, it would be merged hopefully.

Now, if you're stuck or need any help in any context, you can ping back. Looking forward to your contribution 🚀 .
(PS: If you're starting out, this might look like a lot, but it's not. Just go gradually with steps and you'll see.)

Thanks @TimidRobot , great explanation on the issue.

@madhhuurrii
Copy link

Thank you so much for the help!!

@avats-dev
Copy link

Thank you so much for the help!!

Looking forward to your PR...:rocket:

@madhhuurrii
Copy link

Thank you for guiding me @avats-dev , i have successfully created my PR , hope it gets merged!!

@avats-dev
Copy link

Hey @madhhuurrii , nice work. You have to duplicate these works in new repo too, and open a PR there.

It is similar to what you've done here.

Thanks for your contribution 🎉 !

@TimidRobot TimidRobot added meta 💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix 🟩 priority: low Low priority and doesn't need to be rushed and removed bug labels Sep 10, 2020
@TimidRobot
Copy link
Member Author

@madhhuurrii Thank you! Do you have time to do the same work on creativecommons/new-creativecommons.org?

@madhhuurrii
Copy link

@TimidRobot Yup! will do the work.

@TimidRobot
Copy link
Member Author

Thank you @madhhuurrii

@TimidRobot TimidRobot self-assigned this Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository 🛠 goal: fix Bug fix good first issue New-contributor friendly help wanted Open to participation from the community 🟩 priority: low Low priority and doesn't need to be rushed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants