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

717 #734

Open
wants to merge 7 commits into
base: release/v11.15.2024
Choose a base branch
from

Conversation

FrancescoVassalli
Copy link
Contributor

address #717

Copy link
Collaborator

@surapuramakhil surapuramakhil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@FrancescoVassalli request to address this changes.

@@ -466,8 +470,11 @@ def _create_and_upload_resume(self, element, job):

while True:
try:
timestamp = int(time.time())
file_path_pdf = os.path.join(folder_path, f"CV_{timestamp}.pdf")
file_path_pdf = os.path.join(folder_path, f"CV_{job.company}.pdf")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel correct name should be <cadidate_name>_coverletter.pdf for submission. for tacking (internal thing it can be job_tilte/id_converletter.pdf.

can you handle thls

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also move it to a different method. something like get_cover_letter_name or similar.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The candidate name does not seem to be easily accessible here

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

including candidate name seems redundant doesn't it?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it helps hiring companies. CV with candidate name is for uploading in job portal. They do get a bunch of CV files. more professional way

for tracking / logs of Job applicants it should be CV with job ID/details like company & position

@cjbbb
Copy link
Contributor

cjbbb commented Nov 4, 2024

When submitting a PR, you can also add a more detailed description of the changes to help us locate them quickly.

@feder-cr feder-cr requested review from sarob and cjbbb November 7, 2024 00:31
@sarob
Copy link
Collaborator

sarob commented Nov 7, 2024

not sarcastic is this a priority to spend time on?

@FrancescoVassalli
Copy link
Contributor Author

not sarcastic is this a priority to spend time on?

I think the UNIX time in the filename is important to take out because anti-bot operations could look for that

@surapuramakhil
Copy link
Collaborator

not sarcastic is this a priority to spend time on?

I think the UNIX time in the filename is important to take out because anti-bot operations could look for that

💯 %

@@ -452,7 +452,11 @@ def _handle_upload_fields(self, element: WebElement, job) -> None:

logger.debug("Finished handling upload fields")

def _create_and_upload_resume(self, element, job):
def _create_resume_filepath(self,job:Job,folder_path:str,version:int)->str:
return os.path.join(folder_path, f"CV_{job.company}({version}).pdf")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this function called create_resume when path is CV_

@surapuramakhil
Copy link
Collaborator

@FrancescoVassalli are you working on your PR? do you want someone to take over your PR?

@sarob
Copy link
Collaborator

sarob commented Nov 12, 2024

I will set aside some time to check this out

@sarob
Copy link
Collaborator

sarob commented Nov 12, 2024

I am digging into using this code to

  1. update the new job_description json files
  2. moving the CV with this new file name format to the job_description location

@feder-cr
Copy link
Collaborator

@sarob @FrancescoVassalli hi, any updates about this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants