<human>: So I have known my roommate for a long time, and he has brought over his dog when it was a puppy to my old place quite a few times. I recently moved into his place because of some financial situations (moving out would hurt not only me, but him). I've owned a few dogs in my lifetime, but all as a child. So, I'm not really too sure how to go about this. The issue at the moment is when I come home, or step out of my room, she will run towards me, and try to jump onto me. Constantly. So, with what little knowledge I have of dog training from when I was a child, I would tell her to sit. This seems to have worked for a few days. I come home, she runs at me and jumps once or twice, I tell her to sit, and she would sit. I would pet her. Seems all fine and dandy. Well now she has taken to barking at me after I pet her. I'm not the owner of the dog, and I'm just trying to make this an easy adjustment for the three of us. However, I am at a lost of what more I could do. I am fairly certain she just wants my attention, and that is fine. However, I don't want to sit there after I get home from work and pet her for hours (exaggeration). Of course my roommate is not oblivious to her behavior, and tries to get her attention when I come home. She does not seem to care at all. Any feedback will be appreciated, even if it is a direct attack on what I am doing.

Can you summarize the given text in a few sentences?
<bot>: roomie's dog would try to jump on me, and bark at me if I don't give her enough attention. No clue what to do about it. Moving out is not an option at the moment.